start method

Future<void> start()

Starts the recorder.

Implementation

Future<void> start() async {
  _checkInitialized();
  _checkNotDisposed();
  assert(!value.started, 'The recorder can only be started once.');

  await _microphonePlatform.start(_recorderId);
  value = value.copyWith(started: true);
}