toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of DataMatrixParams.

Implementation

Map<String, dynamic> toJson() {
  return {
    'AspectRatio': aspectRatio,
    'TextEncoding': textEncoding,
    'Columns': columns,
    'DataMatrixEcc': dataMatrixEcc,
    'DataMatrixEncodeMode': dataMatrixEncodeMode,
    'Rows': rows,
    'MacroCharacters': macroCharacters,
    'Version': version
  };
}