TransitStop class

Contains information about the stop/station for this part of the trip. Stop details can include:

  • name the name of the transit station/stop. eg. "Union Square".
  • location the location of the transit station/stop, represented as a lat and lng field.

Constructors

TransitStop({String? name, GeoCoord? location})
const
TransitStop.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
location GeoCoord?
The location of the transit station/stop, represented as a lat and lng field
final
name String?
The name of the transit station/stop. eg. "Union Square".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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