Hello!
We have records in Dart now. Let's use them as the pairwise() event type ((T, T) or ({T previous, T current})) instead of the current List<T>. The advantage of this would be that it would always have two values, not a list that could be accessed on an invalid index.
It would be a breaking change though.
Hello!
We have records in Dart now. Let's use them as the
pairwise()event type ((T, T)or({T previous, T current})) instead of the currentList<T>. The advantage of this would be that it would always have two values, not a list that could be accessed on an invalid index.It would be a breaking change though.