DmChatToolCallBlock class
Tool-call block — chip-style renderer with expand-on-tap input/output.
- Inheritance
-
- Object
- DmChatBlock
- DmChatToolCallBlock
- Annotations
Constructors
- DmChatToolCallBlock({required String id, required String name, Object? input, Object? output, DmChatToolCallStatus status = DmChatToolCallStatus.pending, String? errorMessage})
-
const
Properties
- errorMessage → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Tool-call id supplied by the LLM (used as stable widget key).
final
- input → Object?
-
JSON-encodable input payload.
final
- name → String
-
final
- output → Object?
-
JSON-encodable output or markdown string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → DmChatToolCallStatus
-
final
Methods
-
copyWith(
{String? id, String? name, Object? input, Object? output, DmChatToolCallStatus? status, String? errorMessage}) → DmChatToolCallBlock -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override