stop method
Stops the camera and releases all CoreML model predictors from memory. Call this before removing MultiTaskYOLOView from the tree so GPU/ANE memory is freed immediately rather than waiting for a potentially-delayed deinit.
Implementation
Future<void> stop() async {
final ch = _channel;
if (ch == null) return;
await ch.invokeMethod<void>('stop');
}