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