andThenSuccess<T2, E2> method

FutureResult<T2, dynamic> andThenSuccess<T2, E2>(
  1. T2 thenFunction(
    1. T
    )
)

NOTE: This is old syntax preserved for backward compatibility. Instead use the transform method.

See documentation for Result.andThenSuccess

Implementation

FutureResult<T2, dynamic> andThenSuccess<T2, E2>(
        T2 Function(T) thenFunction) async =>
    (await this).transform(thenFunction);