Subdivision class

Administrative subdivision (for example states|provinces -> counties|parishes). Can contain only top-level administrative units within a country, e.g. a state.

Constructors

Subdivision.fromJsObject(dynamic jsObject)
Creates class instance from JavaScript object
Subdivision.fromJson(Map<String, dynamic> json)
Creates class instance from JSON Object that can be returned by Android or iOS agent, or can be a serialization result

Properties

hashCode int
The hash code for this object.
no setterinherited
isoCode String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Serialize instance to JSON Object
toString() String
A string representation of this object.
inherited

Operators

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