class GetGeneralInstructions { int rowID; int iD; int projectID; String text; String textN; bool isActive; int createdBy; String createdOn; dynamic editedBy; dynamic editedOn; GetGeneralInstructions( {this.rowID, this.iD, this.projectID, this.text, this.textN, this.isActive, this.createdBy, this.createdOn, this.editedBy, this.editedOn}); GetGeneralInstructions.fromJson(Map json) { rowID = json['RowID']; iD = json['ID']; projectID = json['ProjectID']; text = json['Text']; textN = json['TextN']; isActive = json['IsActive']; createdBy = json['CreatedBy']; createdOn = json['CreatedOn']; editedBy = json['EditedBy']; editedOn = json['EditedOn']; } Map toJson() { final Map data = new Map(); data['RowID'] = this.rowID; data['ID'] = this.iD; data['ProjectID'] = this.projectID; data['Text'] = this.text; data['TextN'] = this.textN; data['IsActive'] = this.isActive; data['CreatedBy'] = this.createdBy; data['CreatedOn'] = this.createdOn; data['EditedBy'] = this.editedBy; data['EditedOn'] = this.editedOn; return data; } }