ImageContent class

Inheritance
Available extensions
Annotations
  • @artifact

Constructors

ImageContent({String? imageUrl, String? base64Image})
const

Properties

base64Image String?
final
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toLangChain → ChatMessageContent

Available on Content, provided by the XChatMessageContent2LC extension

no setter

Methods

and(Content other) Content
inherited
copyWith({_3? imageUrl, _w deleteImageUrl = _F, _3? base64Image, _w deleteBase64Image = _F}) → _9

Available on _9, provided by the $ImageContent extension

explode() Iterable<Content>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _8, provided by the $Content extension

toJson({bool pretty = _F}) → _3

Available on _9, provided by the $ImageContent extension

toMap() → _1

Available on _8, provided by the $Content extension

toMap() → _1

Available on _9, provided by the $ImageContent extension

toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited