fromMap static method

LabelParam fromMap(
  1. Map map
)

Implementation

static LabelParam fromMap(Map<dynamic, dynamic> map) {
  return LabelParam(
      labelWidth: map["labelWidth"],
      labelLength: map["labelLength"],
      paperWidth: map["paperWidth"],
      paperLength: map["paperLength"],
      imageAreaWidth: map["imageAreaWidth"],
      imageAreaLength: map["imageAreaLength"],
      pinOffsetLeft: map["pinOffsetLeft"],
      pinOffsetRight: map["pinOffsetRight"],
      physicalOffsetX: map["physicalOffsetX"],
      physicalOffsetY: map["physicalOffsetY"],
      labelType: map["labelType"],
      paperID : map["paperID"]
  );
}