LocalDataSource<T extends Entity> class
abstract
- Implementers
Constructors
- LocalDataSource({required String path})
Properties
Methods
-
build(
Map< String, dynamic> source) → T -
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 id, List< T> ? data) → 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