nullProtected property
Map<K, V>
get
nullProtected
Returns a new map with null keys or values removed
Implementation
Map<K, V> get nullProtected {
final nullProtected = {...this}..removeWhere((key, value) => key == null || value == null);
return nullProtected.cast();
}