toCss method

String toCss()

Converts this radius to CSS shorthand.

Implementation

String toCss() => x == y ? cssValue(x) : '${cssValue(x)} / ${cssValue(y)}';