hasContext property

bool get hasContext

Check if a server context is currently available.

Implementation

static bool get hasContext => Zone.current[_zoneKey] != null;