Continent class

A class for storing information of continent

A continent is any of several large landmasses. Generally identified by convention rather than any strict criteria, up to seven geographical regions are commonly regarded as continents.

Ordered from largest in area to smallest, these seven regions are: Continent.asia, Continent.africa, Continent.northAmerica, Continent.southAmerica, Continent.antarctica, Continent.europe, and Continent.australia.

Constructors

Continent.fromWireName(String wireName)
Creates continent 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 Continent
no setter

Constants

africa → const Continent
Constant value of the africa enum
africaWireName → const String
Value of africa in json
antarctica → const Continent
Constant value of the africa enum
antarcticaWireName → const String
Value of antarctica in json
asia → const Continent
Constant value of the asia enum
asiaWireName → const String
Value of asia in json
australia → const Continent
Constant value of the australia enum
australiaWireName → const String
Value of africa in json
europe → const Continent
Constant value of the europe enum
europeWireName → const String
Value of europe in json
northAmerica → const Continent
Constant value of the northAmerica enum
northAmericaWireName → const String
Value of northAmerica in json
southAmerica → const Continent
Constant value of the southAmerica enum
southAmericaWireName → const String
Value of southAmerica in json