exceptEmpty method
- return the map without key of empty values
Implementation
Map<K, V?> exceptEmpty() {
final holder = Map<K, V?>.of(this);
holder.removeWhere((key, value) => value is String && value.isEmpty);
return holder;
}
Map<K, V?> exceptEmpty() {
final holder = Map<K, V?>.of(this);
holder.removeWhere((key, value) => value is String && value.isEmpty);
return holder;
}