stopImageStream method
Implementation
@override
Future<void> stopImageStream() async {
try {
await events?.cancel();
events = null;
} catch (e) {
throw CameraMacOSException(
code: 'CANNOT_STOP_STREAM',
message: 'Image stream cannot be stopped',
details: e.toString(),
);
}
}