getCenter method Null safety
return the current Center of the map
Implementation
Future<LatLng> getCenter()async{
_sendData('getCenter');
Map data=await _listenToValue('sendCenter');
return LatLng.fromMap(data['data']);
}
return the current Center of the map
Future<LatLng> getCenter()async{
_sendData('getCenter');
Map data=await _listenToValue('sendCenter');
return LatLng.fromMap(data['data']);
}