RequestSqliteCache<TRequest> constructor
RequestSqliteCache<TRequest> ({})
Matches any HTTP requests that send data (or 'push'). 'Pull' requests most often have an outcome that exists in memory (e.g. deserializing to a model). Since callbacks cannot be stored in SQLite and there's no guarantee of the destination existing (say disposal or a crash has since occurred), 'pull' requests will be ignored.
Implementation
RequestSqliteCache({
required this.attemptColumn,
required this.createdAtColumn,
required this.lockedColumn,
required this.primaryKeyColumn,
required this.request,
required this.requestColumns,
required this.tableName,
required this.updateAtColumn,
});