ApiResultMetadata constructor

const ApiResultMetadata({
  1. required ApiDataSource source,
  2. bool isStale = false,
  3. bool isOfflineFallback = false,
  4. String? requestId,
  5. String? operationId,
  6. DateTime? receivedAt,
  7. DateTime? expiresAt,
  8. int attempt = 1,
})

Implementation

const ApiResultMetadata({
  required this.source,
  this.isStale = false,
  this.isOfflineFallback = false,
  this.requestId,
  this.operationId,
  this.receivedAt,
  this.expiresAt,
  this.attempt = 1,
});