getListOfLocations method
Implementation
Future<List<Location>> getListOfLocations(List<int> ids) async {
List<Map<String, dynamic>> objects = await super.getAllEntities(
'${Constants.baseURL}${Constants.locationEndpoint}/$ids');
return List<Location>.from(objects.map((x) => Location.fromJson(x)));
}