AiThreadPart class
One part of a thread message: text, an image URL (data: or https), or an image in project storage (read under the caller's storage policies).
Constructors
-
AiThreadPart.fromJson(Map<
String, dynamic> j) -
factory
- AiThreadPart.image(String url)
-
const
- AiThreadPart.storage({required String bucket, required String path})
-
const
- AiThreadPart.text(String text)
-
const
Properties
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