expressionToTextDecorationStyle static method
Implementation
static TextDecorationStyle expressionToTextDecorationStyle(css.LiteralTerm value) {
switch(value.text) {
case "wavy":
return TextDecorationStyle.wavy;
case "dotted":
return TextDecorationStyle.dotted;
case "dashed":
return TextDecorationStyle.dashed;
case "double":
return TextDecorationStyle.double;
default:
return TextDecorationStyle.solid;
}
}