fromValue static method
- String? value
Implementation
static FrameKind? fromValue(String? value) {
if (value != null) {
try {
return FrameKind.values.firstWhere(
(element) => element.toValue() == value,
);
} catch (e) {
return null;
}
}
return null;
}