start method

  1. @override
Future<void> start()
override

Implementation

@override
Future<void> start() async {
  if (_disposed) throw StateError('This capture session was disposed.');

  final error = nextStartError;
  if (error != null) {
    nextStartError = null;
    throw error;
  }

  startCount++;
  _recording = true;
}