mergeNonNull method
将后一个 Map 的内容合并到前一个 Map 中, 同时过滤掉 null
Implementation
void mergeNonNull(Map<K, V>? other) {
merge(
other
?..removeWhere(
(key, value) => value == null,
),
);
}
将后一个 Map 的内容合并到前一个 Map 中, 同时过滤掉 null
void mergeNonNull(Map<K, V>? other) {
merge(
other
?..removeWhere(
(key, value) => value == null,
),
);
}