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

content Content
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskType TaskType
final
title String
final

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