map<S> method

Future<S> map<S>(
  1. S convert(
    1. T result
    )
)

Implementation

Future<S> map<S>(S Function(T result) convert) async {
  final result = await this;
  return convert(result);
}