void fromJson(Map<String, dynamic> json) { id = json['id']; type = json['type']; name = json['name']; }