fromKey static method

ISpectLogType? fromKey(
  1. String key
)

Looks up a built-in type by its key. Returns null for unknown keys.

Implementation

static ISpectLogType? fromKey(String key) => _byKey[key];