LocalDataSourceImpl<T extends Entity> class
abstract
- Inheritance
-
- Object
- LocalDataSource<
T> - LocalDataSourceImpl
Constructors
- LocalDataSourceImpl({required SharedPreferences db, required String path})
Properties
Methods
-
build(
Map< String, dynamic> source) → T -
inherited
-
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