toCss method
Converts this border radius to CSS shorthand.
Implementation
String toCss() {
if (topLeft == topRight &&
topRight == bottomRight &&
bottomRight == bottomLeft) {
return topLeft.toCss();
}
return '${topLeft.toCss()} ${topRight.toCss()} ${bottomRight.toCss()} ${bottomLeft.toCss()}';
}