toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"paperId": mPaperId,
"paperWidth": mPaperWidth,
"paperHeight": mPaperHeight,
"paperWidthDot": mPaperWidthDot,
"paperHeightDot": mPaperHeightDot,
"leftMarginDot": mPhysicalOffsetXDot,
"rightMarginDot": mPhysicalOffsetYDot,
"imageAreaWidthDot": mImageAreaWidthDot,
"imageAreaHeightDot": mImageAreaHeightDot,
"labelWidth": mLabelWidth,
"labelLength": mLabelLength,
"pinOffsetLeft": mPinOffsetLeft,
"pinOffsetRight": mPinOffsetRight,
"labelType": mLabelType,
"paperName": mPaperName,
"paperNameInch": mPaperNameInch
};
}