toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accountId = this.accountId;
  final accountName = this.accountName;
  final appLinkData = this.appLinkData;
  final barcode = this.barcode;
  final classId = this.classId;
  final classReference = this.classReference;
  final disableExpirationNotification = this.disableExpirationNotification;
  final groupingInfo = this.groupingInfo;
  final hasLinkedDevice = this.hasLinkedDevice;
  final hasUsers = this.hasUsers;
  final heroImage = this.heroImage;
  final id = this.id;
  final imageModulesData = this.imageModulesData;
  final infoModuleData = this.infoModuleData;
  final kind = this.kind;
  final linkedObjectIds = this.linkedObjectIds;
  final linkedOfferIds = this.linkedOfferIds;
  final linksModuleData = this.linksModuleData;
  final locations = this.locations;
  final loyaltyPoints = this.loyaltyPoints;
  final merchantLocations = this.merchantLocations;
  final messages = this.messages;
  final notifyPreference = this.notifyPreference;
  final passConstraints = this.passConstraints;
  final rotatingBarcode = this.rotatingBarcode;
  final saveRestrictions = this.saveRestrictions;
  final secondaryLoyaltyPoints = this.secondaryLoyaltyPoints;
  final smartTapRedemptionValue = this.smartTapRedemptionValue;
  final state = this.state;
  final textModulesData = this.textModulesData;
  final validTimeInterval = this.validTimeInterval;
  final valueAddedModuleData = this.valueAddedModuleData;
  final version = this.version;
  return {
    'accountId': ?accountId,
    'accountName': ?accountName,
    'appLinkData': ?appLinkData,
    'barcode': ?barcode,
    'classId': ?classId,
    'classReference': ?classReference,
    'disableExpirationNotification': ?disableExpirationNotification,
    'groupingInfo': ?groupingInfo,
    'hasLinkedDevice': ?hasLinkedDevice,
    'hasUsers': ?hasUsers,
    'heroImage': ?heroImage,
    'id': ?id,
    'imageModulesData': ?imageModulesData,
    'infoModuleData': ?infoModuleData,
    'kind': ?kind,
    'linkedObjectIds': ?linkedObjectIds,
    'linkedOfferIds': ?linkedOfferIds,
    'linksModuleData': ?linksModuleData,
    'locations': ?locations,
    'loyaltyPoints': ?loyaltyPoints,
    'merchantLocations': ?merchantLocations,
    'messages': ?messages,
    'notifyPreference': ?notifyPreference,
    'passConstraints': ?passConstraints,
    'rotatingBarcode': ?rotatingBarcode,
    'saveRestrictions': ?saveRestrictions,
    'secondaryLoyaltyPoints': ?secondaryLoyaltyPoints,
    'smartTapRedemptionValue': ?smartTapRedemptionValue,
    'state': ?state,
    'textModulesData': ?textModulesData,
    'validTimeInterval': ?validTimeInterval,
    'valueAddedModuleData': ?valueAddedModuleData,
    'version': ?version,
  };
}