Countries class
It's one of most important class in the package.
Can access all countries record and methods to use them
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getByAlpha2(
String alpha2) → Country? -
Get a country by your
alpha2
code -
getByContinent(
Continent continent) → List< Country> -
Get all contries by
continent
parameter -
getByDialingCode(
String dialingCode) → Country? -
Get a country by your
dialing code
-
getByName(
String name, {bool withLowerCase = false}) → Country? -
Get country by
name
-
toList(
) → List< Country> -
Makes a country
List
of all countries saved
Constants
- argentina → const Country
- austria → const Country
- belgium → const Country
- bolivia → const Country
- brazil → const Country
- bulgaria → const Country
- chile → const Country
- colombia → const Country
- croatia → const Country
- czechRepublic → const Country
- denmark → const Country
- ecuador → const Country
- estonia → const Country
- finland → const Country
- france → const Country
- germany → const Country
- greece → const Country
- hungary → const Country
- ireland → const Country
- italy → const Country
- latvia → const Country
- lithuania → const Country
- luxembourg → const Country
- malta → const Country
- mexico → const Country
- netherlands → const Country
- norway → const Country
- paraguay → const Country
- peru → const Country
- poland → const Country
- portugal → const Country
- romania → const Country
- russia → const Country
- slovakia → const Country
- slovenia → const Country
- spain → const Country
- sweden → const Country
- switzerland → const Country
- unitedKingdom → const Country
- unitedStates → const Country
- uruguay → const Country