resolvePositionType static method
Implementation
static CSSPositionType resolvePositionType(String? input) {
switch (input) {
case RELATIVE:
return CSSPositionType.relative;
case ABSOLUTE:
return CSSPositionType.absolute;
case FIXED:
return CSSPositionType.fixed;
case STICKY:
return CSSPositionType.sticky;
default:
return CSSPositionType.static;
}
}