decodeBorderRadiusGeometry function
Implementation
BorderRadiusGeometry? decodeBorderRadiusGeometry(dynamic data) {
if (data == null) {
return null;
}
return BorderRadius.only(
topLeft: decodeRadius(data['topLeft']),
topRight: decodeRadius(data['topRight']),
bottomLeft: decodeRadius(data['bottomLeft']),
bottomRight: decodeRadius(data['bottomRight']),
);
}