Country class

Represents a country with its associated information.

Constructors

Country.new(String name, String isoCode, String dialCode, int phoneMinLength, int phoneMaxLength, {List<String> startingDigits = const []})

Properties

dialCode String
The international dialing code of the country.
final
hashCode int
The hash code for this object.
no setterinherited
isoCode String
The ISO 3166-1 alpha-2 code of the country.
final
name String
The name of the country.
final
phoneMaxLength int
The maximum length of a phone number in the country.
final
phoneMinLength int
The minimum length of a phone number in the country.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingDigits List<String>
The starting digits of the phone number in the country.
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