Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bookingService: mockBookingService #44

Open
AndresGarbal opened this issue May 22, 2023 · 1 comment
Open

bookingService: mockBookingService #44

AndresGarbal opened this issue May 22, 2023 · 1 comment

Comments

@AndresGarbal
Copy link

Hello, I have a question with the BookingService, it required a type BookingService so, how can i use a different class? for example SportBooking class instead of BookingService class
image

@radikris
Copy link
Owner

Hey.

BookingService is just a name, it is a simple class with a few properties, like the service duration, service name.

So you can customize it through the properties, it does not matter if you want to work with sports, theater, barber, cosmetic bookings:
https://pub.dev/documentation/booking_calendar/latest/booking_calendar/BookingService/BookingService.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants