String? localizeHz(double? hz) { if (hz == null) return null; return '${hz.toStringAsFixed(1)} Hz'; }