LocalDataSourceImpl<T extends Entity> class abstract

Inheritance

Constructors

LocalDataSourceImpl({required SharedPreferences db, required String path})

Properties

db → SharedPreferences
final
hashCode int
The hash code for this object.
no setterinherited
path String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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