TheNumber constructor

TheNumber({
  1. bool hasNumber = false,
  2. bool isValidLength = false,
  3. String dialCode = "",
  4. String number = "",
  5. String internationalNumber = "",
  6. TheCountry country = const TheCountry(_TheCountry()),
})

A class having all the vitals about a Country's number, this is generally obtained by using TheCountryNumber().parse()

Implementation

TheNumber({
  this.hasNumber = false,
  this.isValidLength = false,
  this.dialCode = "",
  this.number = "",
  this.internationalNumber = "",
  this.country = const TheCountry(_TheCountry()),
});