matchOk<R> method

  1. @override
R? matchOk<R>(
  1. R okop(
    1. T
    )
)
override

Invokes the okop if the result is Ok, otherwise does nothing.

Implementation

@override
R? matchOk<R>(R Function(T) okop) => null;