expand method
As Iterable.expand, but updates the builder in place. Returns nothing.
Implementation
void expand(Iterable<E> Function(E) f) {
var result = _list.expand(f).toList(growable: true);
_maybeCheckElements(result);
_setSafeList(result);
}