stopRecord method

Future<String?> stopRecord()

function used to stop recording and returns the record path as a string

Implementation

Future<String?> stopRecord() async {
  return await _record.stop();
}