toPlainText method

String toPlainText()

A plain text representation of the VCardLabel.

Implementation

String toPlainText() {
  final t = type != null ? ';TYPE=${type.toString()}' : '';
  return 'LABEL$t:$value';
}