match<A, B> function
Implementation
Stream<B> Function(
StreamOption<A>,
) match<A, B>({
required B onNone,
required B Function(A) onSome,
}) =>
(option$) => option$.map(
O.match(
onNone: onNone,
onSome: onSome,
),
);