toMap method
convert PrintRowModel to Map
Implementation
Map<String, dynamic> toMap() {
return {
'PrintDataType': printDataType,
'PrinterWidth': printerWidth,
'IsCenterAligned': isCenterAligned,
'DataToPrint': dataToPrint,
'ImagePath': imagePath,
'ImageData': imageData,
};
}