map<T> method

Future<Result<T, F>> map<T>(
  1. T transform(
    1. S value
    )
)

Map the success value

Implementation

Future<Result<T, F>> map<T>(T Function(S value) transform) async {
  return (await this).map(transform);
}