AuthRepository mixin
Mixin for Authentication Operations
This mixin provides functionalities for checking the user's authentication status. It ensures that the user is authenticated before proceeding with any operations.
Properties
- authService → AuthService
-
Instance of AuthService used to check authentication status.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkAuthenticated(
) → Future< void> - Ensures the user is authenticated.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited