toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final activationStatus = this.activationStatus;
  final appLinkData = this.appLinkData;
  final barcode = this.barcode;
  final classId = this.classId;
  final classReference = this.classReference;
  final concessionCategory = this.concessionCategory;
  final customConcessionCategory = this.customConcessionCategory;
  final customTicketStatus = this.customTicketStatus;
  final deviceContext = this.deviceContext;
  final disableExpirationNotification = this.disableExpirationNotification;
  final groupingInfo = this.groupingInfo;
  final hasLinkedDevice = this.hasLinkedDevice;
  final hasUsers = this.hasUsers;
  final heroImage = this.heroImage;
  final hexBackgroundColor = this.hexBackgroundColor;
  final id = this.id;
  final imageModulesData = this.imageModulesData;
  final infoModuleData = this.infoModuleData;
  final linkedObjectIds = this.linkedObjectIds;
  final linksModuleData = this.linksModuleData;
  final locations = this.locations;
  final merchantLocations = this.merchantLocations;
  final messages = this.messages;
  final notifyPreference = this.notifyPreference;
  final passConstraints = this.passConstraints;
  final passengerNames = this.passengerNames;
  final passengerType = this.passengerType;
  final purchaseDetails = this.purchaseDetails;
  final rotatingBarcode = this.rotatingBarcode;
  final saveRestrictions = this.saveRestrictions;
  final smartTapRedemptionValue = this.smartTapRedemptionValue;
  final state = this.state;
  final textModulesData = this.textModulesData;
  final ticketLeg = this.ticketLeg;
  final ticketLegs = this.ticketLegs;
  final ticketNumber = this.ticketNumber;
  final ticketRestrictions = this.ticketRestrictions;
  final ticketStatus = this.ticketStatus;
  final tripId = this.tripId;
  final tripType = this.tripType;
  final validTimeInterval = this.validTimeInterval;
  final valueAddedModuleData = this.valueAddedModuleData;
  final version = this.version;
  return {
    'activationStatus': ?activationStatus,
    'appLinkData': ?appLinkData,
    'barcode': ?barcode,
    'classId': ?classId,
    'classReference': ?classReference,
    'concessionCategory': ?concessionCategory,
    'customConcessionCategory': ?customConcessionCategory,
    'customTicketStatus': ?customTicketStatus,
    'deviceContext': ?deviceContext,
    'disableExpirationNotification': ?disableExpirationNotification,
    'groupingInfo': ?groupingInfo,
    'hasLinkedDevice': ?hasLinkedDevice,
    'hasUsers': ?hasUsers,
    'heroImage': ?heroImage,
    'hexBackgroundColor': ?hexBackgroundColor,
    'id': ?id,
    'imageModulesData': ?imageModulesData,
    'infoModuleData': ?infoModuleData,
    'linkedObjectIds': ?linkedObjectIds,
    'linksModuleData': ?linksModuleData,
    'locations': ?locations,
    'merchantLocations': ?merchantLocations,
    'messages': ?messages,
    'notifyPreference': ?notifyPreference,
    'passConstraints': ?passConstraints,
    'passengerNames': ?passengerNames,
    'passengerType': ?passengerType,
    'purchaseDetails': ?purchaseDetails,
    'rotatingBarcode': ?rotatingBarcode,
    'saveRestrictions': ?saveRestrictions,
    'smartTapRedemptionValue': ?smartTapRedemptionValue,
    'state': ?state,
    'textModulesData': ?textModulesData,
    'ticketLeg': ?ticketLeg,
    'ticketLegs': ?ticketLegs,
    'ticketNumber': ?ticketNumber,
    'ticketRestrictions': ?ticketRestrictions,
    'ticketStatus': ?ticketStatus,
    'tripId': ?tripId,
    'tripType': ?tripType,
    'validTimeInterval': ?validTimeInterval,
    'valueAddedModuleData': ?valueAddedModuleData,
    'version': ?version,
  };
}