fromMap static method

LabelInfo fromMap(
  1. Map map
)

Implementation

static LabelInfo fromMap(Map<dynamic, dynamic> map) {
  return LabelInfo(
    labelNameIndex: map["labelNameIndex"],
    isAutoCut: map["isAutoCut"],
    isEndCut: map["isEndCut"],
    isHalfCut: map["isHalfCut"],
    isSpecialTape: map["isSpecialTape"],
    isCutMark: map["isCutMark"],
    labelColor: LabelColor.fromMap(map["labelColor"]),
    labelFontColor: LabelColor.fromMap(map["labelFontColor"]),
    labelType: map["labelType"],
  );
}