decodeSingleFrameImage method

Future<Frame> decodeSingleFrameImage({
  1. required Uint8List avifBytes,
  2. dynamic hint,
})
override

Implementation

Future<Frame> decodeSingleFrameImage(
    {required Uint8List avifBytes, dynamic hint}) {
  var arg0 = _platform.api2wire_uint_8_list(avifBytes);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_decode_single_frame_image(port_, arg0),
    parseSuccessData: _wire2api_frame,
    parseErrorData: null,
    constMeta: kDecodeSingleFrameImageConstMeta,
    argValues: [avifBytes],
    hint: hint,
  ));
}