expand method

T expand(
  1. Iterable<Album> toElements(
    1. Album element
    )
)

Implementation

T expand(Iterable<Album> Function(Album element) toElements) {
  return this as T..albums = albums.expand(toElements).toList();
}