EmbedContentRequest class
Represents a request for embedding content.
- Annotations
-
- @JsonSerializable()
Constructors
- EmbedContentRequest.new({required Content content, required TaskType taskType, required String title})
- Creates a new instance of EmbedContentRequest.
-
EmbedContentRequest.fromJson(Map<
String, dynamic> json) -
Creates a new instance of EmbedContentRequest from a JSON map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the EmbedContentRequest instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited