getBounds method

Future<LatLngBounds> getBounds()

return the current bounds of the map

Implementation

Future<LatLngBounds> getBounds() async{
  _sendData('getBounds');
  Map data=await _listenToValue('sendBounds');
  return LatLngBounds.fromMap(data['data']);
}