toEliudFontDecoration function
Implementation
EliudFontDecoration toEliudFontDecoration(int? index) {
switch (index) {
case 0:
return EliudFontDecoration.none;
case 1:
return EliudFontDecoration.underline;
case 2:
return EliudFontDecoration.overline;
case 3:
return EliudFontDecoration.lineThrough;
}
return EliudFontDecoration.unknown;
}