BMFTransitRoutePlanOption class Null safety
公交查询基础信息类
- Inheritance
-
- Object
- BMFBaseRoutePlanOption
- BMFTransitRoutePlanOption
Constructors
- BMFTransitRoutePlanOption({required dynamic from, required dynamic to, String? city, dynamic transitPolicy = BMFTransitPolicy.TIME_FIRST})
- 有参构造
- BMFTransitRoutePlanOption.fromMap(Map map)
- map => BMFTransitRoutePlanOption
Properties
- city ↔ String?
-
城市名,用于在哪个城市内进行检索
read / write
- from ↔ dynamic
-
路线规划的起点
read / write, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- to ↔ dynamic
-
路线规划的终点
read / write, inherited
- transitPolicy ↔ dynamic
-
公交检索策略,
read / write
Methods
-
fromMap(
Map map) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited