animateCamera method

  1. @override
Future<void> animateCamera(
  1. MPCameraUpdate update, [
  2. int? duration
])
override

Implementation

@override
Future<void> animateCamera(MPCameraUpdate update, [int? duration]) {
  return mapControlMethodChannel.invokeMethod("MPC_animateCamera",
      {"update": update._jsonEncode(), "duration": duration});
}