screens/device_registration/device_registration_cubit library
Classes
- DeviceRegistrationCubit
- Cubit for handling the business logic and state management of device registration.
- DeviceRegistrationState
- Represents the state of the device registration process.
Functions
-
fetchOrganizationsFromDb(
Databases db) → Future< List< Document> > - Helper function to fetch organizations from the database. This would normally be in a repository class, but included here for simplicity.