GenaiVertexV1Value class
Value represents a dynamically typed value which can be either null, a
number, a string, a boolean, a recursive struct value, or a list of values.
A producer of value is expected to set one of these variants. Absence of any variant indicates an error.
Constructors
- GenaiVertexV1Value({bool? boolValue, GenaiVertexV1Content? contentValue, GenaiVertexV1ListValue? listValue, String? nullValue, double? numberValue, String? stringValue, GenaiVertexV1Struct? structValue})
- GenaiVertexV1Value.fromJson(Map json_)
Properties
- boolValue ↔ bool?
-
Represents a boolean value.
getter/setter pair
- contentValue ↔ GenaiVertexV1Content?
-
Represents rich content (text, image, etc.).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- listValue ↔ GenaiVertexV1ListValue?
-
Represents a repeated
Value.getter/setter pair - nullValue ↔ String?
-
Represents a null value.
Possible string values are:
getter/setter pair
- numberValue ↔ double?
-
Represents a double value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringValue ↔ String?
-
Represents a string value.
getter/setter pair
- structValue ↔ GenaiVertexV1Struct?
-
Represents a structured value.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited