OpenRouterPricing class

Available extensions
Annotations
  • @artifact

Constructors

OpenRouterPricing.new({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
final

Methods

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

Available on _v, provided by the $OpenRouterPricing extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _v, provided by the $OpenRouterPricing extension

toMap() → _1

Available on _v, provided by the $OpenRouterPricing extension

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

Operators

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