toJson method
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
};
}