BMFOpenRouteOption class Null safety

调起客户端路线参数

Constructors

BMFOpenRouteOption({required dynamic startCoord, String? startName, required dynamic endCoord, String? endName, required BMFOpenRouteType? routeType, BMFOpenTransitPolicy? transitPolicy = BMFOpenTransitPolicy.RECOMMAND, String? appScheme, bool? isSupportWeb = true})
BMFOpenRouteOption 构造方法
BMFOpenRouteOption.fromMap(Map map)
map => BMFOpenRouteOption

Properties

appScheme ↔ String?
指定返回自定义scheme (ios)
read / write
endCoord ↔ dynamic
路线终点, 经纬度坐标
read / write
endName ↔ String?
路线终点名称
read / write
hashCode → int
The hash code for this object.
read-only, inherited
isSupportWeb ↔ bool?
调起百度地图客户端失败后,是否支持调起web地图,默认:true
read / write
routeType BMFOpenRouteType?
调起路线类型
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
startCoord ↔ dynamic
路线起点, 经纬度坐标
read / write
startName ↔ String?
路线起点名称
read / write
transitPolicy BMFOpenTransitPolicy?
交通路线策略 默认T: RANSIT_RECOMMAND 异常值时: 强制使用RECOMMAND 调起百度地图公共交通路线时必填参数
read / write

Methods

fromMap(Map map) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited