fromValue static method
- int? value
Gets a possible WindowTitlebarSeparatorStyle instance from int value.
Implementation
static WindowTitlebarSeparatorStyle? fromValue(int? value) {
if (value != null) {
try {
return WindowTitlebarSeparatorStyle.values.firstWhere(
(element) => element.toValue() == value,
);
} catch (e) {
return null;
}
}
return null;
}