getList method

List? getList(
  1. dynamic name, {
  2. List? defaultVal,
})

Implementation

List<dynamic>? getList(name, {List<dynamic>? defaultVal}) {
  return map[name] ?? defaultVal;
}