fromMap static method

Maps fromMap(
  1. JsonMap map
)

Creates a new instance of this object from a JSON like map.

The map parameter is a JsonMap that contains the properties of this object.

Implementation

static Maps fromMap(JsonMap map) => Maps(
  googleMaps: map["googleMaps"].toString(),
  openStreetMaps: map["openStreetMaps"].toString(),
);