toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "printerModel" : this.printerModel.toMap(),
    "paperKind": this.paperKind.toMap(),
    "unit": this.unit.toMap(),
    "tapeWidth": this.tapeWidth,
    "tapeLength": this.tapeLength,
    "rightMargin": this.rightMargin,
    "leftMargin": this.leftMargin,
    "topMargin": this.topMargin,
    "bottomMargin": this.bottomMargin,
    "labelPitch": this.labelPitch,
    "markPosition": this.markPosition,
    "markHeight": this.markHeight
  };
}