byName static method

LeakType byName(
  1. String name
)

Implementation

static LeakType byName(String name) => LeakType.values.byName(name);