list<T> method

List<T> list<T>(
  1. String key
)
inherited

Returns the list stored for key as List<T>.

Throws a StateError when key is missing or is not a List<T>.

Implementation

List<T> list<T>(String key) => value<List<T>>(key);