payloadBorderRadius function
Sparse per-corner BorderRadius payload; omits unset corners.
Implementation
JsonMap payloadBorderRadius({
double? topLeft,
double? topRight,
double? bottomLeft,
double? bottomRight,
}) {
return {
'topLeft': ?topLeft,
'topRight': ?topRight,
'bottomLeft': ?bottomLeft,
'bottomRight': ?bottomRight,
};
}