fromString static method
Implementation
static UIActionType? fromString(String command) {
try {
return values.firstWhere(
(e) => e.value == command.trim().toUpperCase(),
);
} catch (_) {
return null;
}
}
static UIActionType? fromString(String command) {
try {
return values.firstWhere(
(e) => e.value == command.trim().toUpperCase(),
);
} catch (_) {
return null;
}
}