from static method

Implementation

static DevToolsExtensionEventType from(String name) {
  for (final event in DevToolsExtensionEventType.values) {
    if (event.name == name) {
      return event;
    }
  }
  return unknown;
}