Subscription class

Annotations
  • @JsonSerializable()

Constructors

Subscription({String? id, String? connectionId, String? roomName, String? naptanId, String? lineId, String? source, DateTime? timestamp, DateTime? timeToLive})
Subscription.fromJson(Map<String, dynamic> json)
factory

Properties

connectionId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
lineId String?
getter/setter pair
naptanId String?
getter/setter pair
roomName String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
getter/setter pair
timestamp DateTime?
getter/setter pair
timeToLive DateTime?
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<Subscription>
mapFromJson(Map<String, dynamic> json) Map<String, Subscription>