displayLabel property

String get displayLabel

Returns the display label for this phone number

Implementation

String get displayLabel {
  if (label == PhoneLabel.custom && customLabel.isNotEmpty) {
    return customLabel;
  }
  return _labelToString(label);
}