isRecording method

Future<bool> isRecording()

Indicates whether recording is in progress.

The value of this property is true when the file output currently has a file to which it is writing new samples, false otherwise.

Implementation

Future<bool> isRecording() async {
  return await _channel.$isRecording(this) as bool;
}