resolveBorderStyle static method

CSSBorderStyleType resolveBorderStyle(
  1. String input
)

Implementation

static CSSBorderStyleType resolveBorderStyle(String input) {
  CSSBorderStyleType borderStyle;
  switch (input) {
    case SOLID:
      borderStyle = CSSBorderStyleType.solid;
      break;
    case NONE:
    default:
      borderStyle = CSSBorderStyleType.none;
      break;
  }
  return borderStyle;
}