getOriginBytes method

Future<Uint8List?> getOriginBytes(
  1. String id, {
  2. PMProgressHandler? progressHandler,
  3. PMDarwinAVFileType? darwinFileType,
})

Implementation

Future<typed_data.Uint8List?> getOriginBytes(
  String id, {
  PMProgressHandler? progressHandler,
  PMDarwinAVFileType? darwinFileType,
}) {
  final Map<String, dynamic> params = <String, dynamic>{
    'id': id,
    'darwinFileType': darwinFileType,
  };
  _injectProgressHandlerParams(params, progressHandler);
  return _channel.invokeMethod(PMConstants.mGetOriginBytes, params);
}