gnisFormat property Null safety

String gnisFormat

Get LocationResult representation in GNIS format

Implementation

String get gnisFormat {
  if (distance < 1) {
    return '${location.featureName}, ${location.state} ';
  }
  return '${distance.toInt()}mi $bearing of ${location.featureName}, ${location.state} ';
}