LocalDataRepositoryImpl<T extends Entity> class
- Inheritance
-
- Object
- LocalDataRepository<
T> - LocalDataRepositoryImpl
Constructors
-
LocalDataRepositoryImpl({required LocalDataSource<
T> local})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
local
→ LocalDataSource<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< Response< T> > -
override
-
delete(
{required String id}) → Future< Response< T> > -
override
-
exists(
{required String id}) → Future< bool> -
override
-
get(
{required String id}) → Future< Response< T> > -
override
-
gets(
) → Future< Response< T> > -
override
-
insert(
{required T data}) → Future< Response< T> > -
override
-
inserts(
{required List< T> data}) → Future<Response< T> > -
override
-
isAvailable(
String id, List< T> ? data) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required T data}) → Future< Response< T> > -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited