updateCircles static method

Future<void> updateCircles(
  1. int mapId,
  2. Set<Circle> previous,
  3. Set<Circle> current
)

Implementation

static Future<void> updateCircles(
    int mapId, Set<Circle> previous, Set<Circle> current) async {
  var circleUpdates = CircleUpdates.from(previous, current);
  await GoogleMapsFlutterPlatform.instance
      .updateCircles(circleUpdates, mapId: mapId);
}