callWrites property

bool get callWrites

Whether the tool call running now writes its targets. Outside any call, true: the stricter answer.

Implementation

static bool get callWrites => Zone.current[_callWritesKey] as bool? ?? true;