StatusesService class
Service to handle statuses api requests
Constructors
- StatusesService.new({required ApiClient apiClient, FirebaseCrashlytics? crashlytics})
- Constructor for the StatusesService
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createStatus(
Status data) → Future< void> - Creates a status.
-
getQrCodesWithStatus(
int statusId) → Future< List< QrCode> > - Get all qr codes with a specific status.
-
getScannedQrCodesWithStatus(
int statusId) → Future< List< ScannedQrCode> > - Get all scanned qr codes with a specific status.
-
getStatus(
int statusId) → Future< Status> - Get a status by id.
-
getStatuses(
) → Future< List< Status> > - Get all statuses.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateStatus(
Status data) → Future< void> - Updates a status.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited