get method
Get the list by the key. Will return empty list if key is not present.
Implementation
List<V> get(K key) {
if ( !data.containsKey(key) ) {
return [];
} else {
return data[key]!;
}
}
Get the list by the key. Will return empty list if key is not present.
List<V> get(K key) {
if ( !data.containsKey(key) ) {
return [];
} else {
return data[key]!;
}
}