lookup static method

TestableType lookup(
  1. String code
)

Gets the TestableType from the given string code. This will return null if the code is not one that is supported.

Implementation

static TestableType lookup(String code) => _all.firstWhere(
      (type) => type._code == code,
    );