ModeService class

Constructors

ModeService({required TflApiClientContext context})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

arrivals(String mode, [int? count]) Future<List<Prediction>>
Gets the next arrival predictions for all stops of a given mode
getActiveServiceTypes() Future<List<ActiveServiceType>>
Returns the service type active for a mode. Currently only supports tube
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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