toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"labelNameIndex": labelNameIndex,
"isAutoCut": isAutoCut,
"isEndCut" : isEndCut,
"isHalfCut" : isHalfCut,
"isSpecialTape" : isSpecialTape,
"isCutMark" : isCutMark,
"labelColor" : labelColor.toMap(),
"labelFontColor": labelFontColor.toMap(),
"labelType": labelType
};
}