andThenSuccessAsync<T2, E2> method

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

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

See documentation for Result.andThenSuccessAsync

Implementation

FutureResult<T2, dynamic> andThenSuccessAsync<T2, E2>(
    Future<T2> Function(T) thenFunction) async {
  return transformAsync(thenFunction);
}