getMapCenter method Null safety
获取地图中心点
Implementation
Future<LatLng> getMapCenter() async {
var latLngMap = await _channel.invokeMethod('getMapCenter');
return LatLng(
latitude: latLngMap['latitude'] as double,
longitude: latLngMap['longitude'] as double,
);
}