fromNull method
Implementation
Map<K, V> fromNull() {
Map<K, V> vals = {};
forEach((key, value) {
if (key != null && value != null) {
vals[key] = value;
}
});
return vals;
}
Map<K, V> fromNull() {
Map<K, V> vals = {};
forEach((key, value) {
if (key != null && value != null) {
vals[key] = value;
}
});
return vals;
}