ImageEncodeOptions constructor

ImageEncodeOptions({
  1. String? type,
  2. dynamic quality,
})

Implementation

factory ImageEncodeOptions(
        {String? type, /* double | NaN */ dynamic quality}) =>
    ImageEncodeOptions._(
        type: type ?? 'image/png', quality: quality ?? undefined);