getListOpt<T> method

List<T>? getListOpt<T>(
  1. String key, [
  2. Decoder<T>? decode
])

Implementation

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