PhoneMetadata class
phone metadata
it does not include pattern and lengths, to access those use the maps
Constructors
- PhoneMetadata({required String countryCode, required IsoCode isoCode, required String internationalPrefix, required String? nationalPrefix, required String? leadingDigits, required bool isMainCountryForDialCode})
-
const
- PhoneMetadata.fromJson(String source)
-
factory
-
PhoneMetadata.fromMap(Map<
String, dynamic> map) -
factory
Properties
- countryCode → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- internationalPrefix → String
-
final
- isMainCountryForDialCode → bool
-
there can be more than 1 country for the same dialCode
final
- isoCode → IsoCode
-
final
- leadingDigits → String?
-
final
- nationalPrefix → String?
-
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(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited