BMFRidingRouteLine class
此类表示一条骑行路线
- Inheritance
-
- Object
- BMFRouteLine
- BMFRidingRouteLine
Constructors
-
BMFRidingRouteLine({int? distance, BMFTime? duration, BMFRouteNode? starting, BMFRouteNode? terminal, String? title, List<
BMFRidingStep> ? steps}) - 有参构造
- BMFRidingRouteLine.fromMap(Map map)
- map => BMFRidingRouteLine
Properties
- distance ↔ int?
-
路线长度 单位: 米
read / writeinherited
- duration ↔ BMFTime?
-
路线耗时 单位: 秒
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- starting ↔ BMFRouteNode?
-
路线起点信息
read / writeinherited
-
steps
↔ List<
BMFRidingStep> ? -
路线中的所有路段
read / write
- terminal ↔ BMFRouteNode?
-
路线终点信息
read / writeinherited
- title ↔ String?
-
路线名称(预留字段,现为空)
read / writeinherited
Methods
-
fromMap(
Map map) → dynamic -
map -> dynamic
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
model -> map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited