RequestOptions class final
Configuration for how a GenerativeModel makes requests.
This allows overriding the API version in use which may be required to use some beta features.
Constructors
- RequestOptions({String? apiVersion})
-
const
Properties
- apiVersion → String?
-
The API version used to make requests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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