formatLocationShowArea static method

String formatLocationShowArea(
  1. Location location
)

格式化定位显示地址

Implementation

static String formatLocationShowArea(Location location) {
  return '${location.province} ${location.city} ${location.district}';
}