toDataURL method

String toDataURL([
  1. String? type = 'image/png',
  2. dynamic quality
])

Implementation

String toDataURL([String? type = 'image/png', dynamic quality]) =>
    js_util.callMethod(this, 'toDataURL', [type, quality]);