toCss method

String toCss()

Converts this border side to a CSS string.

Implementation

String toCss() {
  if (style == 'none') return 'none';
  return '${cssValue(width)} $style ${cssValue(color)}';
}