toCss method
Converts this border to a CSS shorthand.
Implementation
String toCss() {
if (style == 'none') return 'none';
return '${cssValue(width)} $style ${cssValue(color)}';
}
Converts this border to a CSS shorthand.
String toCss() {
if (style == 'none') return 'none';
return '${cssValue(width)} $style ${cssValue(color)}';
}