toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowMultipleUsersPerObject != null)
        'allowMultipleUsersPerObject': allowMultipleUsersPerObject!,
      if (callbackOptions != null) 'callbackOptions': callbackOptions!,
      if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (details != null) 'details': details!,
      if (enableSmartTap != null) 'enableSmartTap': enableSmartTap!,
      if (finePrint != null) 'finePrint': finePrint!,
      if (helpUri != null) 'helpUri': helpUri!,
      if (heroImage != null) 'heroImage': heroImage!,
      if (hexBackgroundColor != null)
        'hexBackgroundColor': hexBackgroundColor!,
      if (homepageUri != null) 'homepageUri': homepageUri!,
      if (id != null) 'id': id!,
      if (imageModulesData != null) 'imageModulesData': imageModulesData!,
      if (infoModuleData != null) 'infoModuleData': infoModuleData!,
      if (issuerName != null) 'issuerName': issuerName!,
      if (kind != null) 'kind': kind!,
      if (linksModuleData != null) 'linksModuleData': linksModuleData!,
      if (localizedDetails != null) 'localizedDetails': localizedDetails!,
      if (localizedFinePrint != null)
        'localizedFinePrint': localizedFinePrint!,
      if (localizedIssuerName != null)
        'localizedIssuerName': localizedIssuerName!,
      if (localizedProvider != null) 'localizedProvider': localizedProvider!,
      if (localizedShortTitle != null)
        'localizedShortTitle': localizedShortTitle!,
      if (localizedTitle != null) 'localizedTitle': localizedTitle!,
      if (locations != null) 'locations': locations!,
      if (messages != null) 'messages': messages!,
      if (multipleDevicesAndHoldersAllowedStatus != null)
        'multipleDevicesAndHoldersAllowedStatus':
            multipleDevicesAndHoldersAllowedStatus!,
      if (provider != null) 'provider': provider!,
      if (redemptionChannel != null) 'redemptionChannel': redemptionChannel!,
      if (redemptionIssuers != null) 'redemptionIssuers': redemptionIssuers!,
      if (review != null) 'review': review!,
      if (reviewStatus != null) 'reviewStatus': reviewStatus!,
      if (securityAnimation != null) 'securityAnimation': securityAnimation!,
      if (shortTitle != null) 'shortTitle': shortTitle!,
      if (textModulesData != null) 'textModulesData': textModulesData!,
      if (title != null) 'title': title!,
      if (titleImage != null) 'titleImage': titleImage!,
      if (version != null) 'version': version!,
      if (viewUnlockRequirement != null)
        'viewUnlockRequirement': viewUnlockRequirement!,
      if (wideTitleImage != null) 'wideTitleImage': wideTitleImage!,
      if (wordMark != null) 'wordMark': wordMark!,
    };