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 (confirmationCodeLabel != null)
        'confirmationCodeLabel': confirmationCodeLabel!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (customConfirmationCodeLabel != null)
        'customConfirmationCodeLabel': customConfirmationCodeLabel!,
      if (customGateLabel != null) 'customGateLabel': customGateLabel!,
      if (customRowLabel != null) 'customRowLabel': customRowLabel!,
      if (customSeatLabel != null) 'customSeatLabel': customSeatLabel!,
      if (customSectionLabel != null)
        'customSectionLabel': customSectionLabel!,
      if (dateTime != null) 'dateTime': dateTime!,
      if (enableSmartTap != null) 'enableSmartTap': enableSmartTap!,
      if (eventId != null) 'eventId': eventId!,
      if (eventName != null) 'eventName': eventName!,
      if (finePrint != null) 'finePrint': finePrint!,
      if (gateLabel != null) 'gateLabel': gateLabel!,
      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 (localizedIssuerName != null)
        'localizedIssuerName': localizedIssuerName!,
      if (locations != null) 'locations': locations!,
      if (logo != null) 'logo': logo!,
      if (messages != null) 'messages': messages!,
      if (multipleDevicesAndHoldersAllowedStatus != null)
        'multipleDevicesAndHoldersAllowedStatus':
            multipleDevicesAndHoldersAllowedStatus!,
      if (redemptionIssuers != null) 'redemptionIssuers': redemptionIssuers!,
      if (review != null) 'review': review!,
      if (reviewStatus != null) 'reviewStatus': reviewStatus!,
      if (rowLabel != null) 'rowLabel': rowLabel!,
      if (seatLabel != null) 'seatLabel': seatLabel!,
      if (sectionLabel != null) 'sectionLabel': sectionLabel!,
      if (securityAnimation != null) 'securityAnimation': securityAnimation!,
      if (textModulesData != null) 'textModulesData': textModulesData!,
      if (venue != null) 'venue': venue!,
      if (version != null) 'version': version!,
      if (viewUnlockRequirement != null)
        'viewUnlockRequirement': viewUnlockRequirement!,
      if (wideLogo != null) 'wideLogo': wideLogo!,
      if (wordMark != null) 'wordMark': wordMark!,
    };