Phone constructor

const Phone({
  1. String? number,
  2. PhoneType type = PhoneType.unknown,
})

Construct a new Phone instance.

Implementation

const Phone({
  this.number,
  this.type = PhoneType.unknown,
});