toFullName method

String toFullName()

Returns a human readable name.

Implementation

String toFullName() {
  if (extra != null) {
    return '$streetName $streetNumber$extra';
  } else {
    return '$streetName $streetNumber';
  }
}