CountryModel class
id : "ABW" iso2Code : "AW" name : "Aruba" region : {"id":"LCN","iso2code":"ZJ","value":"Latin America & Caribbean "} adminregion : {"id":"","iso2code":"","value":""} incomeLevel : {"id":"HIC","iso2code":"XD","value":"High income"} lendingType : {"id":"LNX","iso2code":"XX","value":"Not classified"} capitalCity : "Oranjestad" longitude : "-70.0167" latitude : "12.5167"
Constructors
- CountryModel({String? id, String? iso2Code, String? name, Region? region, Adminregion? adminregion, IncomeLevel? incomeLevel, LendingType? lendingType, String? capitalCity, String? longitude, String? latitude})
- CountryModel.fromJson(dynamic json)
Properties
- adminregion ↔ Adminregion?
-
getter/setter pair
- capitalCity ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- incomeLevel ↔ IncomeLevel?
-
getter/setter pair
- iso2Code ↔ String?
-
getter/setter pair
- latitude ↔ String?
-
getter/setter pair
- lendingType ↔ LendingType?
-
getter/setter pair
- longitude ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- region ↔ Region?
-
getter/setter pair
- 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< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited