List<T>? getListValOr<T>(String key) { if (this[key] is List) return this[key].cast<T>(); return null; }