PublicTransportRouteSearchOptions class

Параметры поиска маршрута на общественном транспорте.

Constructors

PublicTransportRouteSearchOptions({DateTime? startTime = null, bool useSchedule = false, EnumSet<PublicTransportType> transportTypes = const PublicTransportTypeEnumSet()})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
Время в UTC, на которое нужно построить маршрут. Если не задано, используется текущее время.
final
transportTypes EnumSet<PublicTransportType>
Типы общественного транспорта. Если не заполнены, маршруты будут строиться для всех поддерживаемых типов общественного транспорта.
final
useSchedule bool
Учёт расписания движения общественного транспорта при построении маршрута.
final

Methods

copyWith({Optional<DateTime?>? startTime, bool? useSchedule, EnumSet<PublicTransportType>? transportTypes}) PublicTransportRouteSearchOptions
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