Seat.fromJson constructor

Seat.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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