getFormattedAddress method

String getFormattedAddress()

Returns formatted address with all available information

Implementation

String getFormattedAddress() {
  StringBuffer buffer = StringBuffer(words);
  if (area != null && area!.isNotEmpty) {
    buffer.write('\n$area');
  }
  if (country != null && country!.isNotEmpty) {
    buffer.write(', $country');
  }
  return buffer.toString();
}