Country class

A class representing a country.

Implemented types

Constructors

Country({required CountryName name})
Creates a new Country object with the given name.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → CountryName
The name of the country.
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({bool short = true}) → String
A string representation of this object.
override

Operators

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