byName static method
The kind called name, or null for one this version does not know.
Implementation
static KernelBindingKind? byName(String name) {
for (final kind in values) {
if (kind.name == name) return kind;
}
return null;
}
The kind called name, or null for one this version does not know.
static KernelBindingKind? byName(String name) {
for (final kind in values) {
if (kind.name == name) return kind;
}
return null;
}