BookingModel class

Constructors

BookingModel({String? id, required String uid, String? name, DateTime? requestDate, String? route, int? numPassengers, String? flightClass, DateTime? departureDate, bool isCorporate = false, String? assignee, String? status, String? plan, String? imageUrl})
BookingModel.fromJson(Map<String, dynamic> json)
factory

Properties

assignee String?
final
bookingStatus BookingStatus
no setter
departureDate DateTime?
final
flightClass String?
final
hashCode int
The hash code for this object.
no setterinherited
hasTimer bool
no setter
id String?
final
imageUrl String?
final
isCorporate bool
final
name String?
final
numPassengers int?
final
plan String?
final
requestDate DateTime?
final
route String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
final
uid String
final

Methods

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