TravelcardPrice class

Annotations
  • @JsonSerializable()

Constructors

TravelcardPrice({String? fareType, ZoneScope? journeyZoneScope, ZoneFare? dayOffPeak, ZoneFare? dayAnytime, ZoneFare? weekly, ZoneFare? monthly, ZoneFare? annual})
TravelcardPrice.fromJson(Map<String, dynamic> json)
factory

Properties

annual ZoneFare?
getter/setter pair
dayAnytime ZoneFare?
getter/setter pair
dayOffPeak ZoneFare?
getter/setter pair
fareType String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
journeyZoneScope ZoneScope?
getter/setter pair
monthly ZoneFare?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weekly ZoneFare?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(List json) List<TravelcardPrice>
mapFromJson(Map<String, dynamic> json) Map<String, TravelcardPrice>