[dart2wasm] Fix non-static interop class. (flutter/engine#35407)
This commit is contained in:
@@ -328,7 +328,10 @@ class DecodeOptions {
|
||||
/// * https://www.w3.org/TR/webcodecs/#videoframe-interface
|
||||
@JS()
|
||||
@anonymous
|
||||
class VideoFrame implements DomCanvasImageSource {
|
||||
@staticInterop
|
||||
class VideoFrame implements DomCanvasImageSource {}
|
||||
|
||||
extension VideoFrameExtension on VideoFrame {
|
||||
external int allocationSize();
|
||||
external JsPromise copyTo(Uint8List destination);
|
||||
external String? get format;
|
||||
|
||||
Reference in New Issue
Block a user