toPlainText method

String toPlainText()

A plain text representation of the VCardGeo.

Implementation

String toPlainText() {
  final v4 = version == VCardVersion.v4;
  final geo = !v4 ? '' : 'geo:';
  final separator = !v4 ? ';' : ',';
  return 'GEO:$geo$latitude$separator$longitude';
}