getCenter method

Future<LatLng> getCenter()

return the current Center of the map

Implementation

Future<LatLng> getCenter()async{
  _sendData('getCenter');
  Map data=await _listenToValue('sendCenter');
  return LatLng.fromMap(data['data']);
}