isRecording static method

Future<bool> isRecording()

This method is used for verifying if the recording is currently active

Implementation

static Future<bool> isRecording() async {
  final bool? starter = await _channel.invokeMethod<bool>('isRecording');
  return starter!;
}