getList method
Access a List
value.
Returns null
if there is no such key or if it is not a List
.
Implementation
List<dynamic> getList(String key) {
if (get(key) is! List) {
return null;
}
return new List<dynamic>.from(get(key));
}
Access a List
value.
Returns null
if there is no such key or if it is not a List
.
List<dynamic> getList(String key) {
if (get(key) is! List) {
return null;
}
return new List<dynamic>.from(get(key));
}