LocalDataHandlerImpl<T extends Entity> class
- Inheritance
-
- Object
- LocalDataHandler<
T> - LocalDataHandlerImpl
Constructors
-
LocalDataHandlerImpl({required LocalDataRepository<
T> repository})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
repository
→ LocalDataRepository<
T> -
finalinherited
- 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 key, List< T> ? list) → 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