USStates class
Constructors
- USStates()
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
-
getAbbreviation(
String stateName) → String? - Takes case-insensitive name of state and returns abbreviation.
-
getAbbreviationMap(
) → Map< String, String> - Returns map of Abbreviations as Keys and Names as Values.
-
getAllAbbreviations(
) → List< String> - Returns list of all abbreviations.
-
getAllNames(
) → List< String> - Returns list of all names.
-
getName(
String stateAbbreviation) → String? - Takes case-insensitive abbreviation of state and returns name.
-
getNameMap(
) → Map< String, String> - Returns map of Names as Keys and Abbreviations as Values.