Seats.fromJson constructor

Seats.fromJson(
  1. Map json_
)

Implementation

Seats.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        licensedNumberOfSeats: json_.containsKey('licensedNumberOfSeats')
            ? json_['licensedNumberOfSeats'] as core.int
            : null,
        maximumNumberOfSeats: json_.containsKey('maximumNumberOfSeats')
            ? json_['maximumNumberOfSeats'] as core.int
            : null,
        numberOfSeats: json_.containsKey('numberOfSeats')
            ? json_['numberOfSeats'] as core.int
            : null,
      );