OpenRouterPricing class

Available extensions
Annotations

Constructors

OpenRouterPricing({String prompt = "0", String completion = "0", String request = "0", String image = "0", String web_search = "0", String audio = "0", String internal_reasoning = "0"})
const

Properties

audio String
final
completion String
final
hashCode int
The hash code for this object.
no setterinherited
image String
final
internal_reasoning String
final
prompt String
final
request String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to → _a

Available on _14, provided by the $OpenRouterPricing extension

no setter
final

Methods

copyWith({_7? prompt, _19 resetPrompt = _F, _7? completion, _19 resetCompletion = _F, _7? request, _19 resetRequest = _F, _7? image, _19 resetImage = _F, _7? web_search, _19 resetWeb_search = _F, _7? audio, _19 resetAudio = _F, _7? internal_reasoning, _19 resetInternal_reasoning = _F}) → _14

Available on _14, provided by the $OpenRouterPricing extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → _5

Available on _14, provided by the $OpenRouterPricing extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited