startRecord method
Implementation
Future<void> startRecord(String output) async {
try {
final int result = await _channel.invokeMethod('startRecord', output);
} on PlatformException catch (e) {
print("Error from native: $e.message");
}
}