Seat.fromJson(Map<String, dynamic> json) { pitch = json['pitch']; legroom = json['legroom']; type = json['type']; }