num? findNum(String key) { final value = find(key); if (value is num) return value; if (value is String) return num.tryParse(value); return null; }