flexPositionTypeFromValue function
Implementation
FlexPositionType? flexPositionTypeFromValue(String? value) {
if (value == null || value.isEmpty) {
return null;
}
switch (value.replaceKey()) {
case 'RELATIVE':
return FlexPositionType.relative;
case 'ABSOLUTE':
return FlexPositionType.absolute;
default:
_convertError("flexPositionTypeFromInt Unknown enum value: $value");
return null;
}
}