LatLngBounds.fromJson constructor

LatLngBounds.fromJson(
  1. String json
)

Build a object from json String.

example on the json:

{

Implementation

//     "west":0.0,
//     ""east":0.0,
//     "north":0.0,
//     "south":0.0
//   }
/// ```
LatLngBounds.fromJson(String json){
  Map data=jsonDecode(json);
  east=data['east'];
  west=data['west'];
  south=data['south'];
  north=data['north'];
}