toMap method

Map<String, dynamic> toMap()

convert PrintRowModel to Map

Implementation

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