toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boardingDoor != null) 'boardingDoor': boardingDoor!,
      if (boardingGroup != null) 'boardingGroup': boardingGroup!,
      if (boardingPosition != null) 'boardingPosition': boardingPosition!,
      if (boardingPrivilegeImage != null)
        'boardingPrivilegeImage': boardingPrivilegeImage!,
      if (kind != null) 'kind': kind!,
      if (seatAssignment != null) 'seatAssignment': seatAssignment!,
      if (seatClass != null) 'seatClass': seatClass!,
      if (seatNumber != null) 'seatNumber': seatNumber!,
      if (sequenceNumber != null) 'sequenceNumber': sequenceNumber!,
    };