startRecording method

Future<void> startRecording()

Implementation

Future<void> startRecording() async {
  if (isRecord) {
    await EnxRtc.stopRecord();
  } else {
    await EnxRtc.startRecord();
  }
}