BookingRepository class Null safety

Booking repository implementation of IBookingRepository

Implemented types

Constructors

BookingRepository()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

deleteBooking(String bookingId) Future
Delete a booking from history
override
executeBooking({PaymentMethodType? paymentMethodType, String? parkingId, String? parkingName, TimeOfDay? parkingStartTime, TimeOfDay? parkingEndTime, double? totalPrice, String? parkingAddress}) Future<Booking>
Book a parking spot
override
getBookingsList() Future<List<Booking>>
Return the list of Booking
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited