TasksRepositoryImpl class
- Implemented types
- Mixed-in types
Constructors
- TasksRepositoryImpl({required TasksRemoteDataSource remoteDataSource, required TasksLocalDataSource localDataSource, required SyncLocalDataSource syncQueue})
Properties
- connectivity → Connectivity
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- localDataSource → TasksLocalDataSource
-
final
- remoteDataSource → TasksRemoteDataSource
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syncQueue → SyncLocalDataSource
-
final
Methods
-
closeTask(
String id) → Future< Either< Failure, bool> > -
override
-
createTask(
TaskDataRequest taskData) → Future< Either< Failure, TaskEntity> > -
override
-
deleteTask(
String id) → Future< Either< Failure, bool> > -
override
-
getTask(
String? taskId) → Future< Either< Failure, TaskEntity> > -
override
-
getTasks(
String? projectId) → Future< Either< Failure, List< >TaskEntity> > -
override
-
isConnected(
) → Future< bool> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateTask(
TaskDataRequest taskData, String id) → Future< Either< Failure, TaskEntity> > -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited