MediaPart class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false)

Constructors

MediaPart.new({dynamic text, required Media? media, dynamic toolRequest, dynamic toolResponse, dynamic data, dynamic metadata, dynamic custom, dynamic reasoning, dynamic resource})
MediaPart.fromJson(Map<String, dynamic> json)
factory

Properties

custom → dynamic
final
data → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
media Media?
final
metadata → dynamic
final
reasoning → dynamic
final
resource → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text → dynamic
final
toolRequest → dynamic
final
toolResponse → dynamic
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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