BaseRepository<T extends DataModel, TFilter extends DataFilter> class abstract

Inheritance

Constructors

BaseRepository()

Properties

baseUrl String?
no setterinherited
dio ↔ Dio
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
interceptorsWrapper → InterceptorsWrapper
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useInterceptors bool
no setterinherited

Methods

addInterceptors(InterceptorsWrapper interceptorsWrapper) → dynamic
inherited
approve(T entity) Future<T>
count(TFilter filter) Future<int>
create(T entity) Future<T>
deleteByEntity(T entity) Future<T>
deleteById(num id) Future<T>
getById(num id) Future<T>
list(TFilter filter) Future<List<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject(T entity) Future<T>
toString() String
A string representation of this object.
inherited
update(T entity) Future<T>
uploadFile({required String filePath, String uploadUrl = '/upload-file'}) Future<File>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited