toJson method
Returns a JSON representation of Pdf417Params.
Implementation
Map<String, dynamic> toJson() {
return {
'AspectRatio': aspectRatio,
'TextEncoding': textEncoding,
'Columns': columns,
'CompactionMode': compactionMode,
'ErrorLevel': errorLevel,
'MacroFileID': macroFileID,
'MacroSegmentID': macroSegmentID,
'MacroSegmentsCount': macroSegmentsCount,
'Rows': rows,
'Truncate': truncate,
'Pdf417ECIEncoding': pdf417ECIEncoding,
'IsReaderInitialization': isReaderInitialization,
'MacroTimeStamp': macroTimeStamp == null
? ''
: macroTimeStamp!.toUtc().toIso8601String(),
'MacroSender': macroSender,
'MacroFileSize': macroFileSize,
'MacroChecksum': macroChecksum,
'MacroFileName': macroFileName,
'MacroAddressee': macroAddressee,
'MacroECIEncoding': macroECIEncoding,
'Code128Emulation': code128Emulation,
'IsCode128Emulation': isCode128Emulation,
'Pdf417MacroTerminator': pdf417MacroTerminator,
'IsLinked': isLinked,
'MacroCharacters': macroCharacters
};
}