BMFSuggestionSearchOption class

sug检索信息类

Inheritance

Constructors

BMFSuggestionSearchOption({String? keyword, String? cityname, BMFCoordinate? location, bool? cityLimit = false})
有参构造
BMFSuggestionSearchOption.fromMap(Map map)
map => BMFSuggestionSearchOption

Properties

cityLimit ↔ bool?
是否只返回指定城市检索结果(默认:false)(提示:海外区域暂不支持设置cityLimit)
read / write
cityname ↔ String?
城市名,参数也可以传入citycode,必选
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
id → String
getter方法 用于区分不同搜索结果
read-onlyinherited
keyword ↔ String?
搜索关键字,必选
read / write
location ↔ BMFCoordinate?
指定位置,可选,注:会影响关键字不在设置城市范围内时的检索结果,故不建议使用。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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