getFields method
Implementation
Iterable<OptionField> getFields() sync* {
for (Option i in options) {
if (i is OptionGroup) {
yield* i.getFields();
} else if (i is OptionField) {
yield i;
}
}
}
Iterable<OptionField> getFields() sync* {
for (Option i in options) {
if (i is OptionGroup) {
yield* i.getFields();
} else if (i is OptionField) {
yield i;
}
}
}