parseRadius function
Up till this point all parsing should be 1 level. Directly parsing a string.
Implementation
Radius? parseRadius(Map<String, dynamic>? map) {
if (map == null) return null;
double x = map["x"].toDouble();
double y = map["y"].toDouble();
return Radius.elliptical(x, y);
}