RemoteProviderEntry class final

Constructors

RemoteProviderEntry({Map<String, int> contextWindows = const {}, Map<String, RemoteModelPricing> pricing = const {}, Map<String, List<String>> media = const {}})
const
RemoteProviderEntry.fromJson(Map<String, Object?> json)
factory

Properties

contextWindows → Map<String, int>
modelId → reported context window (used when the endpoint's /v1/models payload doesn't carry one).
final
hashCode → int
The hash code for this object.
no setterinherited
media → Map<String, List<String>>
slotName → list of model ids (imageGeneration, videoGeneration, speech, transcription).
final
pricing → Map<String, RemoteModelPricing>
modelId → input/output USD per million tokens. The catalog only carries pricing for models the provider documents flat per-Mtok rates for; absent entry = unknown (the picker renders —, never 0.00).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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