toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => <String, Object?>{
  "formats": formats.map((UCodeFormat f) => f.name).toList(growable: false),
  "multiple": multiple,
  "tryHarder": tryHarder,
  "tryRotate": tryRotate,
  "tryInvert": tryInvert,
  "tryDownscale": tryDownscale,
  "maxSymbols": maxSymbols,
  "region": region == null ? null : <double>[region!.left, region!.top, region!.width, region!.height],
};