Status1.fromJson(Map<String, dynamic> json) { if (json["id"] is int) { id = json["id"]; } if (json["label"] is String) { label = json["label"]; } }