transf<R extends Object> abstract method

  1. @override
Result<R> transf<R extends Object>([
  1. @noFutures R noFutures(
    1. T e
    )?
])
override

Transforms the Outcome's generic type from T to R.

Uses the transformer function noFutures if provided, otherwise attempts a direct cast.

Implementation

@override
Result<R> transf<R extends Object>([@noFutures R Function(T e)? noFutures]);