toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final map = <String, dynamic>{};

  map['quality'] = quality;
  map['outputType'] = outputType.index;
  map['useJpgPngNativeCompressor'] = useJpgPngNativeCompressor;

  return map;
}