GrxCountry class

Constructors

GrxCountry({required GrxCountryId id, required String code, required String name, required String flag, String? language, List<String> phoneMasks = const [], List<String> zipcodeMasks = const [], List<GrxFederativeUnit> states = const []})
const
GrxCountry.fromJson(Map<String, dynamic> json)
GrxCountry.unknown()

Properties

code String
final
flag String
final
hashCode int
The hash code for this object.
no setterinherited
id GrxCountryId
final
language String?
final
name String
final
phoneMaskMinLength int
no setter
phoneMasks List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
states List<GrxFederativeUnit>
final
zipcodeMasks List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stringify() String
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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