fromNull method

Map<K, V> fromNull()

Implementation

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