enabled property

bool get enabled

Whether the current asynchronous operation has a diagnostics consumer.

Implementation

static bool get enabled => Zone.current[_key] != null;