PTStop class Maps & 3D Scenes

Public transport stop metadata.

Represents a stop (or platform/entrance) with an id, display name and the set of routes that serve it.

Instances are produced as part of PTStopInfo.stops.

Constructors

PTStop({required int stopId, required String stopName, bool? isStation, required List<PTRouteInfo> routes})
Create a PTStop.

Properties

hashCode int
The hash code for this object.
no setterinherited
isStation bool?
True when the stop is a station; otherwise null/false.
final
routes List<PTRouteInfo>
Routes serving the stop.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopId int
Numeric stop identifier.
final
stopName String
Stop display name.
final

Methods

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