Home Manual Reference Source Test
import Flight from 'FreeBird_SDK/src/FlightClass.js'
public class | source

Flight

Flight Details - gives the details of the flight

Test:

Constructor Summary

Public Constructor
public

constructor(airlineCode: number, flightNumber: number, date: string)

Public Constructors

public constructor(airlineCode: number, flightNumber: number, date: string) source

Params:

NameTypeAttributeDescription
airlineCode number

Airline code of the flight

flightNumber number

Flight number of the flight

date string

Departure date (format: YYYY-MM-DD)