int? getInt(String key) { var target = _map[key]; if (target == null) return null; return int.tryParse(target.toString()); }