PhoneNumber constructor

PhoneNumber({
  1. String? isoCode,
  2. String? phoneNumber,
  3. String? dialCode,
  4. Country? country,
})

Creates a PhoneNumber instance.

isoCode: ISO code of the country. phoneNumber: The phone number value. dialCode: The dial code of the country.

Implementation

PhoneNumber({
  this.isoCode,
  this.phoneNumber,
  this.dialCode,
  this.country,
});