fold<T> method

Future<T> fold<T>(
  1. T i,
  2. T combine(
    1. T,
    2. E
    )
)

Refer to Iterable.fold;

Implementation

Future<T> fold<T>(T i, T Function(T, E) combine) async {
  return (await this).fold<T>(i, combine);
}