ArrivalDeparture class

Annotations
  • @JsonSerializable()

Constructors

ArrivalDeparture({String? platformName, String? destinationNaptanId, String? destinationName, String? naptanId, String? stationName, DateTime? estimatedTimeOfArrival, DateTime? scheduledTimeOfArrival, DateTime? estimatedTimeOfDeparture, DateTime? scheduledTimeOfDeparture, String? minutesAndSecondsToArrival, String? minutesAndSecondsToDeparture, String? cause, String? departureStatus, PredictionTiming? timing})
ArrivalDeparture.fromJson(Map<String, dynamic> json)
factory

Properties

cause String?
getter/setter pair
departureStatus String?
getter/setter pair
destinationName String?
getter/setter pair
destinationNaptanId String?
getter/setter pair
estimatedTimeOfArrival DateTime?
getter/setter pair
estimatedTimeOfDeparture DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minutesAndSecondsToArrival String?
getter/setter pair
minutesAndSecondsToDeparture String?
getter/setter pair
naptanId String?
getter/setter pair
platformName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledTimeOfArrival DateTime?
getter/setter pair
scheduledTimeOfDeparture DateTime?
getter/setter pair
stationName String?
getter/setter pair
timing PredictionTiming?
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<ArrivalDeparture>
mapFromJson(Map<String, dynamic> json) Map<String, ArrivalDeparture>