function used to stop recording and returns the record path as a string
Future<String?> stopRecord() async { return await record.stop(); }