panTo method Null safety
- LatLng point
Changes the center of the map to the given LatLng. If the change is less than both the width and height of the map, the transition will be smoothly animated.
Implementation
void panTo(LatLng point)=>_sendData('panTo',point.toMap());