getActiveGlobalSpanId static method

String? getActiveGlobalSpanId()

Active global span id for the current async zone, if any.

Implementation

static String? getActiveGlobalSpanId() =>
    Zone.current[cxActiveSpanIdKey] as String?;