resolveBorderStyle static method

BorderStyle resolveBorderStyle(
  1. String input
)

Implementation

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