static HookPoint? fromKey(String key) { for (final point in values) { if (point.key == key) return point; } return null; }