parseBorderStyle method

BorderStyle parseBorderStyle(
  1. String? borderStyle
)

Implementation

BorderStyle parseBorderStyle(String? borderStyle) {
  if (borderStyle == 'solid') {
    return BorderStyle.solid;
  } else if (borderStyle == 'none') {
    return BorderStyle.none;
  }
  return BorderStyle.solid;
}