processVideo method

  1. @override
Future<String?> processVideo({
  1. required String id,
  2. void onProgress(
    1. double process
    )?,
})
override

Implementation

@override
Future<String?> processVideo({
  required String id,
  void Function(double process)? onProgress,
}) async {
  try {
    final result = await methodChannel.invokeMethod('processVideo', {
      'id': id,
    });
    return result.toString();
  } on PlatformException {
    rethrow;
  }
}