fromKey static method

HookPoint? fromKey(
  1. String key
)

Implementation

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