fromMap static method

Paper fromMap(
  1. Map map
)

Implementation

static Paper fromMap(Map<dynamic, dynamic> map) {
  return Paper(
      paperId: map["paperId"],
      paperWidth: map["paperWidth"],
      paperHeight: map["paperHeight"],
      paperWidthDot: map["paperWidthDot"],
      paperHeightDot: map["paperHeightDot"],
      leftMarginDot: map["leftMarginDot"],
      rightMarginDot: map["rightMarginDot"],
      imageAreaWidthDot: map["imageAreaWidthDot"],
      imageAreaHeightDot: map["imageAreaHeightDot"],
      labelWidth: map["labelWidth"],
      labelLength: map["labelLength"],
      pinOffsetLeft: map["pinOffsetLeft"],
      pinOffsetRight: map["pinOffsetRight"],
      labelType: map["labelType"],
      paperName: map["paperName"],
      paperNameInch: map["paperNameInch:"]
  );
}