matchOk<R> method
Invokes the okop
if the result is Ok
, otherwise does nothing.
Implementation
Future<R?> matchOk<R>(R Function(T) okop) =>
then((result) => result.matchOk(okop));
Invokes the okop
if the result is Ok
, otherwise does nothing.
Future<R?> matchOk<R>(R Function(T) okop) =>
then((result) => result.matchOk(okop));