toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final appLinkData = this.appLinkData;
  final barcode = this.barcode;
  final cardTitle = this.cardTitle;
  final classId = this.classId;
  final genericType = this.genericType;
  final groupingInfo = this.groupingInfo;
  final hasUsers = this.hasUsers;
  final header = this.header;
  final heroImage = this.heroImage;
  final hexBackgroundColor = this.hexBackgroundColor;
  final id = this.id;
  final imageModulesData = this.imageModulesData;
  final linkedObjectIds = this.linkedObjectIds;
  final linksModuleData = this.linksModuleData;
  final logo = this.logo;
  final merchantLocations = this.merchantLocations;
  final messages = this.messages;
  final notifications = this.notifications;
  final passConstraints = this.passConstraints;
  final rotatingBarcode = this.rotatingBarcode;
  final saveRestrictions = this.saveRestrictions;
  final smartTapRedemptionValue = this.smartTapRedemptionValue;
  final state = this.state;
  final subheader = this.subheader;
  final textModulesData = this.textModulesData;
  final validTimeInterval = this.validTimeInterval;
  final valueAddedModuleData = this.valueAddedModuleData;
  final wideLogo = this.wideLogo;
  return {
    'appLinkData': ?appLinkData,
    'barcode': ?barcode,
    'cardTitle': ?cardTitle,
    'classId': ?classId,
    'genericType': ?genericType,
    'groupingInfo': ?groupingInfo,
    'hasUsers': ?hasUsers,
    'header': ?header,
    'heroImage': ?heroImage,
    'hexBackgroundColor': ?hexBackgroundColor,
    'id': ?id,
    'imageModulesData': ?imageModulesData,
    'linkedObjectIds': ?linkedObjectIds,
    'linksModuleData': ?linksModuleData,
    'logo': ?logo,
    'merchantLocations': ?merchantLocations,
    'messages': ?messages,
    'notifications': ?notifications,
    'passConstraints': ?passConstraints,
    'rotatingBarcode': ?rotatingBarcode,
    'saveRestrictions': ?saveRestrictions,
    'smartTapRedemptionValue': ?smartTapRedemptionValue,
    'state': ?state,
    'subheader': ?subheader,
    'textModulesData': ?textModulesData,
    'validTimeInterval': ?validTimeInterval,
    'valueAddedModuleData': ?valueAddedModuleData,
    'wideLogo': ?wideLogo,
  };
}