FlightUtils class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPassengerTypesString(
List< Passengers> passengers) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
calculateDiscountValue(
String basePrice, String discountPrice) → String -
convertFlightsToFlightModel(
Flights flight) → FlightModel -
convertMinutesIntoHourTime(
int value) → String -
convertTripToTimeline(
BookingDetails history, List< Flights> flights, bool isDeparture) → List<TimelineModel> -
getOrdinal(
int index) → String -
imageHandler(
String url, String name, double? height, [bool isNonDiscounted = true, String flightCode = '']) → Widget -
mapBookingStatus(
String status) → BookingStatus -
mapFlightClass(
String type) → FlightClass -
mapTripType(
String type) → TripType -
passengerText(
String? type) → String -
totalDuration(
List values) → String