PublicTransportDirectoryRouteInfo class
Справочная информация о маршруте общественного транспорта.
Constructors
-
PublicTransportDirectoryRouteInfo.new({required DgisObjectId id, required String name, required PublicTransportRouteType routeType, required int? color, required PublicTransportDirectoryRouteDirectionNamesInfo? fromToStationNames, required List<
PublicTransportRouteDirection> directions}) -
const
Properties
- color → int?
-
Цветовое кодирование маршрута.
final
-
directions
→ List<
PublicTransportRouteDirection> -
Направления маршрута.
Для остановочной платформы (тип ObjectType.StationPlatform)
может не содержать информацию о направлениях, которые проходят через платформу.
Для получения направлений необходимо сделать поисковой запрос с идентификатором маршрута.
final
- fromToStationNames → PublicTransportDirectoryRouteDirectionNamesInfo?
-
Информация о наименованиях начальной и конечной остановках маршрута.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → DgisObjectId
-
Идентификатор маршрута.
final
- name → String
-
Название маршрута.
final
- routeType → PublicTransportRouteType
-
Тип маршрута.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{DgisObjectId? id, String? name, PublicTransportRouteType? routeType, Optional< int?> ? color, Optional<PublicTransportDirectoryRouteDirectionNamesInfo?> ? fromToStationNames, List<PublicTransportRouteDirection> ? directions}) → PublicTransportDirectoryRouteInfo -
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