UserRepositoryImpl class Null safety
The implementation for the user repository.
- Implemented types
- Annotations
- @LazySingleton(as: UserRepository)
Constructors
- UserRepositoryImpl({required Logger logger, required UserDataSource dataSource})
- Creates user repository implementation.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getAllUsers(
) → Future< Result< List< >User> > -
Returns result with all available users.
override
-
getUser(
UserId userId) → Future< Result< User> > -
Returns result with a single user.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited