PhoneNumber constructor Null safety

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

Implementation

PhoneNumber({
  this.phoneNumber,
  this.dialCode,
  this.isoCode,
}) : _hash = 1000 + Random().nextInt(99999 - 1000);