VoCountry class abstract

Available extensions
Annotations
  • @freezed

Constructors

VoCountry({required String name, required String code, required String dialCode, required String continent})
const
factory
VoCountry.fromJson(Map<String, dynamic> json)
factory

Properties

code → String
no setterinherited
continent → String
no setterinherited
copyWith → $VoCountryCopyWith<VoCountry>
Create a copy of VoCountry with the given fields replaced by the non-null parameter values.
no setterinherited
dialCode → String
no setterinherited
e164DialCode → String

Available on VoCountry, provided by the VoCountryDialCode extension

dialCode with only + and digits, e.g. +1268 for +1-268. Use this when composing or matching numbers.
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
no setterinherited
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, dynamic>
Serializes this VoCountry to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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