Region class

A class for storing information of region

In geography, regions are areas that are broadly divided by physical characteristics (physical geography), human impact characteristics (human geography), and the interaction of humanity and the environment (environmental geography).

Geographic regions and sub-regions are mostly described by their imprecisely defined, and sometimes transitory boundaries, except in human geography, where jurisdiction areas such as national borders are defined in law.

Constructors

Region.fromWireName(String wireName)
Creates region with a decoded json object from countries
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wireName String
Actual value from json
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Properties

values → dynamic
All values with Region
no setter

Constants

africa → const Region
Constant value of the africa enum
africaWireName → const String
Value of africa in json
americas → const Region
Constant value of the americas enum
americasWireName → const String
Value of americas in json
asia → const Region
Constant value of the asia enum
asiaWireName → const String
Value of asia in json
europe → const Region
Constant value of the europe enum
europeWireName → const String
Value of europe in json
oceania → const Region
Constant value of the oceania enum
oceaniaWireName → const String
Value of oceania in json
unknown → const Region
Constant value of the unknown enum
unknownWireName → const String
Value of unknown in json