removeOnCameraEventListner method

  1. @override
void removeOnCameraEventListner(
  1. MPCameraEventListener listener
)
override

Implementation

@override
void removeOnCameraEventListner(MPCameraEventListener listener) {
  _cameraEventListeners.remove(listener);
  if (_cameraEventListeners.isEmpty) {
    listenerChannel
        .invokeMethod("MPL_cameraEventListener", {"setupListener": false});
  }
}