byName static method
The value whose name is wireName, or null when this version names
none (absent) — how a file that names a value is read.
Implementation
static QueryType? byName(String wireName) {
for (final value in values) {
if (value.name == wireName) return value;
}
return null;
}