trimVideo method
Trims a video file to the specified time range.
Implementation
@override
Future<String> trimVideo(
String filePath, double startSeconds, double endSeconds) async {
final result = await methodChannel.invokeMethod<String>('trimVideo', {
'filePath': filePath,
'startSeconds': startSeconds,
'endSeconds': endSeconds,
});
return result ?? filePath;
}