Radius jsonToRadius(Map<String, dynamic> data) { return Radius.elliptical( data['x'] as double, data['y'] as double, ); }