toBlob method

void toBlob(
  1. BlobCallback callback, [
  2. String? type = 'image/png',
  3. dynamic quality
])

Implementation

void toBlob(BlobCallback callback,
        [String? type = 'image/png', dynamic quality]) =>
    js_util
        .callMethod(this, 'toBlob', [allowInterop(callback), type, quality]);