fromMaps static method

List<Placemark> fromMaps(
  1. dynamic message
)

Converts a list of Map instances to a list of Placemark instances.

Implementation

static List<Placemark> fromMaps(dynamic message) {
  if (message == null) {
    throw ArgumentError('The parameter \'message\' should not be null.');
  }

  final List<Placemark> list = message.map<Placemark>(fromMap).toList();
  return list;
}