PublicTransportRouteInfo class
Описание маршрута общественного транспорта.
Constructors
- PublicTransportRouteInfo({required String name, required String directionName, required String lastPlatformName, required PublicTransportCostInfo? costInfo, required TraversalType? traversalType})
-
const
Properties
- costInfo → PublicTransportCostInfo?
-
Информация о стоимости проезда (если известна).
final
- directionName → String
-
Название направления (если есть).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastPlatformName → String
-
Название конечной остановки (если известно).
final
- name → String
-
Имя маршрута.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- traversalType → TraversalType?
-
Информация о направлении движения (если известна).
final
Methods
-
copyWith(
{String? name, String? directionName, String? lastPlatformName, Optional< PublicTransportCostInfo?> ? costInfo, Optional<TraversalType?> ? traversalType}) → PublicTransportRouteInfo -
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.
override