explode method
Fills this range of values between from and to (to not included).
Example:
(from: Note.c, to: Note.e.flat).explode()
== <Note>[.c, .d.flat, .d, .e.flat]
See also:
- IterableExtension.compact for the inverse operation.
Implementation
List<E> explode({E Function(E current)? nextValue, Comparator<E>? compare}) =>
_explode(
nextValue: nextValue ?? Scalable.chromaticMotion,
compare: compare ?? Scalable.compareEnharmonically,
);