torchState property

  1. @override
Stream<bool> get torchState
override

Returns a stream of torch state changes.

Implementation

@override
Stream<bool> get torchState {
  // Web doesn't support hardware torch access
  // Return a stream that always emits false
  return async.Stream.value(false);
}