taskFromResult method
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);