forEachEmptyFieldComponent method
Implementation
int forEachEmptyFieldComponent(ForEachComponent f) {
var count = 0;
var list = getEmptyFields();
for (var fieldName in list) {
var elem = getFieldComponent(fieldName);
if (elem != null) {
f(elem);
count++;
}
}
return count;
}