ContactPhone constructor

const ContactPhone({
  1. required String number,
  2. PhoneLabel label = PhoneLabel.mobile,
  3. String customLabel = '',
  4. bool isPrimary = false,
})

Creates a ContactPhone with the given parameters

Implementation

const ContactPhone({
  required this.number,
  this.label = PhoneLabel.mobile,
  this.customLabel = '',
  this.isPrimary = false,
});