BMFOfflineCityRecord class Null safety

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

Constructors

BMFOfflineCityRecord({int? cityID, int? dataSize, String? cityName, int? cityType, List<BMFOfflineCityRecord>? childCities})
BMFOfflineCityRecord构造方法
BMFOfflineCityRecord.fromMap(Map map)
map => 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
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