BMFOfflineCityRecord class

离线地图搜索城市记录结构

Implemented types
  • BMFModel

Constructors

BMFOfflineCityRecord({int cityID, int dataSize, String cityName, int cityType, List<BMFOfflineCityRecord> childCities})
BMFOfflineCityRecord构造方法

Properties

childCities ↔ List<BMFOfflineCityRecord>
子城市列表
read / write
cityID ↔ int
城市ID
read / write
cityName ↔ String
城市名称
read / write
cityType ↔ int
城市类型0:全国;1:省份;2:城市,如果是省份,可以通过childCities得到子城市列表
read / write
dataSize ↔ int
数据包总大小
read / write
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

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

offlineCityRecord() BMFOfflineCityRecord