CountryData class Core
Country Data class
Represents country data including name, ISO code, and optional flag image.
Constructors
- CountryData.new({required String name, required String isoCode, Img? flagImage})
- Creates a CountryData instance.
Properties
- flagImage → Img?
-
The country flag image, if available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isoCode → String
-
The ISO 3166-1 alpha-3 country code.
final
- name → String
-
The country 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited