double? radius(DartValue? v) { final d = deref(v); if (d is ObjectValue && d.type == 'Radius') { return number(d.arg(0)); } return null; }