fromWire static method
The kind value names, or a TraceFormatException for a word this
build does not know.
Implementation
static TraceLabeled fromWire(Object? value) {
for (final kind in values) {
if (kind.wire == value) return kind;
}
throw TraceFormatException('a label on an unknown resource kind: $value');
}