centerOnPoint method
Center the map on point
with an optional zoom
level.
If curve
is not specified, the one specified in the constructor will be
used.
Implementation
Future<void> centerOnPoint(
LatLng point, {
double? zoom,
Curve? curve,
String? customId,
}) {
return animateTo(dest: point, zoom: zoom, curve: curve, customId: customId);
}