OpenRouterQuotaAdapter class

Implemented types

Constructors

OpenRouterQuotaAdapter({required Client client, required Future<String?> resolveApiKey(), DateTime now()?, Uri? endpoint})

Properties

client → Client
final
endpoint → Uri?
final
hashCode → int
The hash code for this object.
no setterinherited
now → DateTime Function()
final
resolveApiKey → Future<String?> Function()
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch() → Future<QuotaFetchResult>
override
fetchQuota({bool forceRefresh = false}) → Future<ProviderQuota?>
override
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

Constants

defaultEndpointUrl → const String