Country class

Class definition for a country with its name, dial code, and ISO code.

Constructors

Country({required String name, required String dialCode, required String isoCode})
Constructor for Country
const

Properties

dialCode → String
Country's dial code
final
flagUri → String
Country's flag URI
no setter
hashCode → int
The hash code for this object.
no setterinherited
isoCode → String
Country's ISO code
final
name → String
Country's name
final
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited