addAllIf method
Implementation
void addAllIf(/* bool | Condition */ condition, Map<K, V> values) {
if (condition is Condition) condition = condition();
if (condition is bool && condition) addAll(values);
}
void addAllIf(/* bool | Condition */ condition, Map<K, V> values) {
if (condition is Condition) condition = condition();
if (condition is bool && condition) addAll(values);
}