SeparatorBuilder<A, B> typedef

SeparatorBuilder<A, B> = B Function(A prev, A next)

Signature for the separator builder in intersperseWith method.

Builds an element of type B given prev and next elements of type A.

Implementation

typedef SeparatorBuilder<A, B> = B Function(A prev, A next);