taskFromResult method

  1. @override
Task? taskFromResult(
  1. Map<String, dynamic> result
)
override

If a tools/call (or other) result is a CreateTaskResult — the extension's resultType: "task" or the 2025-11-25 core's nested task — returns the Task; otherwise null.

Implementation

@override
Task? taskFromResult(Map<String, dynamic> result) =>
    inner.taskFromResult(result);