brick_offline_first_with_rest library

Classes

ConnectOfflineFirstWithRest
An annotation used to specify a class to generate code for.
OfflineFirstWithRestAdapter<_Model extends OfflineFirstWithRestModel>
This adapter fetches first from SqliteProvider then hydrates with RestProvider.
OfflineFirstWithRestModel
OfflineFirstWithRestRepository
Ensures the remoteProvider is a RestProvider. All requests to and from the remoteProvider pass through a seperate SQLite queue. If the app is unable to make contact with the remoteProvider, the queue automatically retries in sequence until it receives a response. Please note that a response may still be an error code such as 404 or 500. The queue is only concerned with connectivity.
RestRequestSqliteCacheManager

Constants

HTTP_JOBS_ATTEMPTS_COLUMN → const String
int
HTTP_JOBS_BODY_COLUMN → const String
String
HTTP_JOBS_CREATED_AT_COLUMN → const String
int; millisecondsSinceEpoch
HTTP_JOBS_ENCODING_COLUMN → const String
String
HTTP_JOBS_HEADERS_COLUMN → const String
json-encoded String
HTTP_JOBS_LOCKED_COLUMN → const String
int; 1 for true, 0 for false
HTTP_JOBS_PRIMARY_KEY_COLUMN → const String
int; autoincrement'd
HTTP_JOBS_REQUEST_METHOD_COLUMN → const String
String
HTTP_JOBS_TABLE_NAME → const String
HTTP_JOBS_UPDATED_AT → const String
int; millisecondsSinceEpoch
HTTP_JOBS_URL_COLUMN → const String
String