toDataUrl method

String toDataUrl(
  1. String type, [
  2. num? quality
])

Implementation

String toDataUrl(String type, [num? quality]) =>
    (quality == null) ? toDataURL(type) : toDataURL(type, quality.toJS);