toggleRecording method
Implementation
Future<void> toggleRecording() async {
try {
await _channel.invokeMethod<dynamic>('toggleRecording');
} on PlatformException catch (e) {
debugPrint('${e.code}: ${e.message}');
}
}
Future<void> toggleRecording() async {
try {
await _channel.invokeMethod<dynamic>('toggleRecording');
} on PlatformException catch (e) {
debugPrint('${e.code}: ${e.message}');
}
}