PhoneData class

Annotations
  • @freezed

Constructors

PhoneData({required String dialCode, required String iso2, required String phone})
const
factory
PhoneData.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $PhoneDataCopyWith<PhoneData>
Create a copy of PhoneData with the given fields replaced by the non-null parameter values.
no setterinherited
dialCode String
Dial code of the corresponding country
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
iso2 String
ISO2 of the corresponding country
no setterinherited
phone String
Just the phone numbers with no country dial code
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 PhoneData to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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