Country class
A country exposed by the package as a known VAT origin.
The list at europeanCountries (in constants.dart) is not strictly
limited to EU member states - it also contains a few neighbouring
territories that may appear in business directories. For VIES validity the
canonical list is the regex inside ViesProvider.
Constructors
Properties
- code → String
-
ISO 3166-1 alpha-2 country code (uppercase), with two domain-specific
exceptions used by VIES:
EL(Greece) andXI(Northern Ireland).final - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
English 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
-
toJson(
) → Map< String, String> -
JSON representation, with the
nameandcodefields. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override