LocalDataHandler<T extends Entity> class
abstract
- Implementers
Constructors
-
LocalDataHandler({required LocalDataRepository<
T> repository}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
repository
→ LocalDataRepository<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< Response< T> > -
delete(
{required String id}) → Future< Response< T> > -
exists(
{required String id}) → Future< bool?> -
get(
{required String id}) → Future< Response< T> > -
gets(
) → Future< Response< T> > -
insert(
{required T data}) → Future< Response< T> > -
inserts(
{required List< T> data}) → Future<Response< T> > -
isAvailable(
String key, List< T> ? list) → bool -
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> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited