updateClusterManagers method

  1. @override
Future<void> updateClusterManagers(
  1. ClusterManagerUpdates clusterManagerUpdates, {
  2. required int mapId,
})
override

Updates cluster manager configuration.

Change listeners are notified once the update has been made on the platform side.

The returned Future completes after listeners have been notified.

Implementation

@override
Future<void> updateClusterManagers(
  ClusterManagerUpdates clusterManagerUpdates, {
  required int mapId,
}) {
  return channel(mapId).invokeMethod<void>(
    'clusterManagers#update',
    clusterManagerUpdates.toJson(),
  );
}