static String? $string(dynamic json, String key) { final value = _getJsonValue(json, key); if (value == null) return null; return value.toString(); }