getList<T> method

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

Reads a key value of List type from Map.

If value/map is NULL or not List type return default value defaultString

Example:

map.getList(productList) // return list if exists otherwise retrun empty list

Implementation

List<T> getList<T>(String key) => FxMap.getList(this, key) as List<T>;