callAll function
Calls given all functions, this function can be used to avoid introducing braces and makes code more compact.
Implementation
void callAll(List<void Function()> functions) {
for (var f in functions) {
f.call();
}
}
Calls given all functions, this function can be used to avoid introducing braces and makes code more compact.
void callAll(List<void Function()> functions) {
for (var f in functions) {
f.call();
}
}