getList<T> method

List<T> getList <T>(String key)

Implementation

List<T> getList<T>(String key) {
  List<dynamic> _result = getValue(key);
  if (_result != null) {
    return List.castFrom<dynamic, T>(_result);
  } else {
    return List<T>();
  }
}