Skip to content

Use record in pairwise() #753

@Albert221

Description

@Albert221

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions