lookup static method
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,
);