grabFrame method Null safety

Future<ImageBitmap> grabFrame()

Implementation

Future<ImageBitmap> grabFrame() => promiseToFuture<ImageBitmap>(
    JS("creates:ImageBitmap;", "#.grabFrame()", this));