fromMaps static method
Converts a list of Map instances to a list of Location
instances.
Implementation
static List<Location> fromMaps(dynamic message) {
if (message == null) {
throw ArgumentError('The parameter \'message\' should not be null.');
}
final List<Location> list = message.map<Location>(fromMap).toList();
return list;
}