decode static method

HcConfiguration decode(
  1. dynamic data
)

Implementation

static HcConfiguration decode(dynamic data) {
  return HcConfiguration(
    quality: data['quality'] as int,
    outputType: HcImageOutputType.values[data['outputType'] as int],
    useJpgPngNativeCompressor: data['useJpgPngNativeCompressor'],
  );
}