match<B> method
B
match<B>({
- required B onNone,
- required B onSome(
- A
Implementation
B match<B>({
required B onNone,
required B Function(A) onSome,
}) =>
O.match(
onNone: onNone,
onSome: onSome,
)(_option);