Country class

Model object to hold the Country data

Constructors

Country({required String name, required String countryCode})
Instantiates an Country with the specified name, and countryCode
const

Properties

countryCode String
the 2-letter ISO code
final
hashCode int
The hash code for this object.
no setteroverride
name String
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.
override