isRecording method

Future<bool> isRecording()

Checks if there's valid recording session. So if session is paused, this method will still return true.

Implementation

Future<bool> isRecording() async {
  _created ??= await _create();
  return RecordPlatform.instance.isRecording(_recorderId);
}