toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appLinkData != null) 'appLinkData': appLinkData!,
      if (callbackOptions != null) 'callbackOptions': callbackOptions!,
      if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!,
      if (enableSmartTap != null) 'enableSmartTap': enableSmartTap!,
      if (id != null) 'id': id!,
      if (imageModulesData != null) 'imageModulesData': imageModulesData!,
      if (linksModuleData != null) 'linksModuleData': linksModuleData!,
      if (messages != null) 'messages': messages!,
      if (multipleDevicesAndHoldersAllowedStatus != null)
        'multipleDevicesAndHoldersAllowedStatus':
            multipleDevicesAndHoldersAllowedStatus!,
      if (redemptionIssuers != null) 'redemptionIssuers': redemptionIssuers!,
      if (securityAnimation != null) 'securityAnimation': securityAnimation!,
      if (textModulesData != null) 'textModulesData': textModulesData!,
      if (viewUnlockRequirement != null)
        'viewUnlockRequirement': viewUnlockRequirement!,
    };