Country class
Constructors
-
Country({required List<
State> states, required String name, required String iso2, required String iso3, required String phoneCode, required String currencyName, required String currencySymbol, required String tld, required String region, required String emoji, required String emojiU}) -
Country.fromJson(Map<
String, dynamic> json) -
factory
Properties
- currencyName → String
-
final
- currencySymbol → String
-
final
- emoji → String
-
final
- emojiU → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iso2 → String
-
final
- iso3 → String
-
final
- name → String
-
final
- phoneCode → String
-
final
- region → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
→ List<
State> -
final
- tld → String
-
final
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