getFullAddress static method
Implementation
static String getFullAddress(String address, String city, String district) {
String temp = address;
if (district.isNotEmpty) temp.isNotEmpty ? temp += ', $district' : temp = district;
if (city.isNotEmpty) temp.isNotEmpty ? temp += ', $city' : temp = city;
return temp;
}