PTStop class

This class represents a public transport stop. It contains the stop's ID, name, an optional flag indicating if it's a station, and a list of routes associated with the stop.

Constructors

PTStop({required int stopId, required String stopName, bool? isStation, required List<PTRoute> routes})
Constructor for the PTStop class.

Properties

hashCode int
The hash code for this object.
no setterinherited
isStation bool?
An optional flag indicating if the stop is a station.
final
routes List<PTRoute>
A list of routes associated with the stop. This is a list of PTRoute objects.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopId int
The ID of the stop.
final
stopName String
The name of the stop.
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