Creates Location from Json
static List<Location> fromJsonList(List<Json>? list) => (list ?? []).map((json) => Location(json)).toList();