match<B> method

Stream<B> match<B>({
  1. required B none,
  2. required B some(
    1. A
    ),
})

Implementation

Stream<B> match<B>({
  required B none,
  required B Function(A) some,
}) =>
    SO.match(
      onNone: none,
      onSome: some,
    )(_f);