DataPart class
Constructors
-
DataPart.new({dynamic text, dynamic media, dynamic toolRequest, dynamic toolResponse, dynamic data, dynamic metadata, Map<
String, dynamic> ? custom, dynamic reasoning, dynamic resource}) -
DataPart.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
custom
→ Map<
String, dynamic> ? -
final
- data → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- media → dynamic
-
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