clear method

  1. @override
void clear()
override

Removes all icon map objects from the controller and destroys visible cluster markers.

Example:

controller.clear();
print("Cleared cluster controller");

Implementation

@override
void clear() {
    final _clearFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, ),
        void Function(Pointer<Void>, )
      >('navigine_sdk_flutter_ClusterMapObjectController_clear'));
    _clearFfi(this.ptr, );
    exception.checkCallResult();
}