getLocationList abstract method

Map<int, LocationInfo> getLocationList()

Method is used to get current location list LocationInfo. Returns dictionary {location_id -> location_info}

Example:

// Get current location list
Map<int, LocationInfo> currentLocationList = _locationListManager!.getLocationList();
print("Current location list contains ${currentLocationList.length} locations");
_demonstrateLocationList(currentLocationList);

Implementation

Map<int, LocationInfo> getLocationList();