toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of DotCodeParams.

Implementation

Map<String, dynamic> toJson() {
  return {
    'AspectRatio': aspectRatio,
    'Columns': columns,
    'EncodeMode': encodeMode,
    'ECIEncoding': eCIEncoding,
    'IsReaderInitialization': isReaderInitialization,
    'Rows': rows
  };
}