List<T>? getListOpt<T>(String key, [Decoder<T>? decode]) { if (map[key] == null) { return null; } return getList<T>(key, decode); }