CityModel class
- Inheritance
-
- Object
- LevelsBaseModel
- CityModel
Constructors
- CityModel(dynamic jsonStr)
-
factory
- CityModel.fromJson(dynamic jsonRes)
-
CityModel.fromParams({String value = '', String areaCode = '', String parentId = '', String label = '', String center = '', List<
CityModel> children = const []})
Properties
- areaCode ↔ String
-
getter/setter pair
- center ↔ String
-
getter/setter pair
-
children
↔ List<
CityModel> -
getter/setter pair
- childrenItems → List
-
no setteroverride
- count → int
-
no setterinherited
- extra → Object
-
no setteroverride
- getIsExsitLabel → bool
-
no setter
- hasChildren → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible → bool
-
no setteroverride
- itemId → Object
-
no setteroverride
- itemRank → int
-
no setterinherited
- itemUrl → String
-
no setterinherited
- label ↔ String
-
getter/setter pair
- levelName → String
-
no setteroverride
- parentId ↔ String
-
getter/setter pair
- parentsLevel → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → bool
-
no setteroverride
- value ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSelected(
bool status) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited