find static method

EditorCallbacks? find(
  1. String name
)

Implementation

static EditorCallbacks? find(String name) {
  for (final event in EditorCallbacks.values) {
    if (event.callback == name) return event;
  }
  return null;
}