class CommonData { String? description; int? id; String? name; bool? isSelected; CommonData({this.description, this.id, this.name, this.isSelected = false}); CommonData.fromJson(Map json) { description = json['description']; id = json['id']; name = json['name']; } Map toJson() { final Map data = new Map(); data['description'] = this.description; data['id'] = this.id; data['name'] = this.name; return data; } }