TransitObject constructor

TransitObject({
  1. ActivationStatus? activationStatus,
  2. AppLinkData? appLinkData,
  3. Barcode? barcode,
  4. String? classId,
  5. TransitClass? classReference,
  6. String? concessionCategory,
  7. LocalizedString? customConcessionCategory,
  8. LocalizedString? customTicketStatus,
  9. DeviceContext? deviceContext,
  10. bool? disableExpirationNotification,
  11. GroupingInfo? groupingInfo,
  12. bool? hasLinkedDevice,
  13. bool? hasUsers,
  14. Image? heroImage,
  15. String? hexBackgroundColor,
  16. String? id,
  17. List<ImageModuleData>? imageModulesData,
  18. InfoModuleData? infoModuleData,
  19. List<String>? linkedObjectIds,
  20. LinksModuleData? linksModuleData,
  21. List<LatLongPoint>? locations,
  22. List<MerchantLocation>? merchantLocations,
  23. List<Message>? messages,
  24. String? notifyPreference,
  25. PassConstraints? passConstraints,
  26. String? passengerNames,
  27. String? passengerType,
  28. PurchaseDetails? purchaseDetails,
  29. RotatingBarcode? rotatingBarcode,
  30. SaveRestrictions? saveRestrictions,
  31. String? smartTapRedemptionValue,
  32. String? state,
  33. List<TextModuleData>? textModulesData,
  34. TicketLeg? ticketLeg,
  35. List<TicketLeg>? ticketLegs,
  36. String? ticketNumber,
  37. TicketRestrictions? ticketRestrictions,
  38. String? ticketStatus,
  39. String? tripId,
  40. String? tripType,
  41. TimeInterval? validTimeInterval,
  42. List<ValueAddedModuleData>? valueAddedModuleData,
  43. String? version,
})

Implementation

TransitObject({
  this.activationStatus,
  this.appLinkData,
  this.barcode,
  this.classId,
  this.classReference,
  this.concessionCategory,
  this.customConcessionCategory,
  this.customTicketStatus,
  this.deviceContext,
  this.disableExpirationNotification,
  this.groupingInfo,
  this.hasLinkedDevice,
  this.hasUsers,
  this.heroImage,
  this.hexBackgroundColor,
  this.id,
  this.imageModulesData,
  this.infoModuleData,
  this.linkedObjectIds,
  this.linksModuleData,
  this.locations,
  this.merchantLocations,
  this.messages,
  this.notifyPreference,
  this.passConstraints,
  this.passengerNames,
  this.passengerType,
  this.purchaseDetails,
  this.rotatingBarcode,
  this.saveRestrictions,
  this.smartTapRedemptionValue,
  this.state,
  this.textModulesData,
  this.ticketLeg,
  this.ticketLegs,
  this.ticketNumber,
  this.ticketRestrictions,
  this.ticketStatus,
  this.tripId,
  this.tripType,
  this.validTimeInterval,
  this.valueAddedModuleData,
  this.version,
});