import 'package:comwell_key_app/overview/models/booking.dart';
import 'package:equatable/equatable.dart';
class Bookings extends Equatable {
final List<Booking> current;
final List<Booking> past;
final List<Booking> cancelled;
const Bookings({
required this.current,
required this.past,
required this.cancelled,
});
@override
List<Object> get props => [current, past, cancelled];
static const emptyValue = Bookings(current: [], past: [], cancelled: []);
bool get isEmpty => current.isEmpty && past.isEmpty && cancelled.isEmpty;
}