displayResult property

  1. @override
String get displayResult
override

Implementation

@override
String get displayResult {
  final result = StringBuffer();
  result.write(latitude);
  result.write(', ');
  result.write(longitude);
  if (altitude > 0.0) {
    result.write(', ');
    result.write(altitude);
    result.write('m');
  }
  if (query != null) {
    result.write(' (');
    result.write(query);
    result.write(')');
  }
  return result.toString();
}