BaseRepository<T extends BaseResponseModel> class abstract

Constructors

BaseRepository(NetworkExecutor<BaseResponseModel> _networkExecutor)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute<M extends Mapper<T, K>, T extends BaseResponseModel, K>({required M mapper, required String urlPath, required METHOD_TYPE method, required BaseRequestModel params, String? id, required T responseType, bool isJsonEncode = false, Map<String, dynamic>? headers, CachePolicy? cachePolicy = null, RetryPolicy? retryPolicy = null}) Future<Result<K>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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