createImageBitmap method

Future<ImageBitmap> createImageBitmap(
  1. dynamic image, [
  2. int? sx,
  3. int? sy,
  4. int? sw,
  5. int? sh,
  6. ImageBitmapOptions? options,
])

Implementation

Future<ImageBitmap> createImageBitmap(dynamic image,
        [int? sx, int? sy, int? sw, int? sh, ImageBitmapOptions? options]) =>
    js_util.promiseToFuture(js_util.callMethod(
        this, 'createImageBitmap', [image, sx, sy, sw, sh, options]));