locations top-level property

List<Location> locations
getter/setter pair

Implementation

List<Location> locations = [
  Location(locationName: "loc1"),
  Location(locationName: "loc2"),
  Location(locationName: "loc3"),
  Location(locationName: "loc4"),
];