captureVideo method
Implementation
@override
Future<void> captureVideo(int seconds) async {
try {
return await methodChannel.invokeMethod<void>(
"captureVideo",
<String, dynamic>{
'seconds': seconds,
},
);
} catch (e) {
throw Exception("$e [Capture Video]");
}
}