ApiResultMetadata class

Constructors

ApiResultMetadata({required ApiDataSource source, bool isStale = false, bool isOfflineFallback = false, String? requestId, String? operationId, DateTime? receivedAt, DateTime? expiresAt, int attempt = 1})
const

Properties

attempt → int
final
expiresAt → DateTime?
final
hashCode → int
The hash code for this object.
no setterinherited
isOfflineFallback → bool
final
isStale → bool
final
operationId → String?
final
receivedAt → DateTime?
final
requestId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → ApiDataSource
final

Methods

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