class ActionUISupply { int id; String name; String externalTable; int objectType; String condition; int activityTypeId; ActionUISupply( {this.id, this.name, this.externalTable, this.objectType, this.condition, this.activityTypeId}); ActionUISupply.fromJson(Map json) { id = json['id']; name = json['name']; externalTable = json['externalTable']; objectType = json['objectType']; condition = json['condition']; activityTypeId = json['activityTypeId']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['name'] = this.name; data['externalTable'] = this.externalTable; data['objectType'] = this.objectType; data['condition'] = this.condition; data['activityTypeId'] = this.activityTypeId; return data; } }