class LaserBodyPart { int id; int category; String bodyPart; bool fullBoadyPart; bool isRetouch; String timeDuration; String bodyPartN; bool isActive; String mappingCode; int procedureID; int orderNum; String categoryName; String categoryNameN; LaserBodyPart( {this.id, this.category, this.bodyPart, this.fullBoadyPart, this.isRetouch, this.timeDuration, this.bodyPartN, this.isActive, this.mappingCode, this.procedureID, this.orderNum, this.categoryName, this.categoryNameN}); LaserBodyPart.fromJson(Map json) { id = json['Id']; category = json['Category']; bodyPart = json['BodyPart']; fullBoadyPart = json['FullBoadyPart']; isRetouch = json['IsRetouch']; timeDuration = json['TimeDuration']; bodyPartN = json['BodyPartN']; isActive = json['IsActive']; mappingCode = json['MappingCode']; procedureID = json['ProcedureID']; orderNum = json['OrderNum']; categoryName = json['CategoryName']; categoryNameN = json['CategoryNameN']; } Map toJson() { final Map data = new Map(); data['Id'] = this.id; data['Category'] = this.category; data['BodyPart'] = this.bodyPart; data['FullBoadyPart'] = this.fullBoadyPart; data['IsRetouch'] = this.isRetouch; data['TimeDuration'] = this.timeDuration; data['BodyPartN'] = this.bodyPartN; data['IsActive'] = this.isActive; data['MappingCode'] = this.mappingCode; data['ProcedureID'] = this.procedureID; data['OrderNum'] = this.orderNum; data['CategoryName'] = this.categoryName; data['CategoryNameN'] = this.categoryNameN; return data; } }