expectMappedLater<R> method

Future<T> expectMappedLater<R>(
  1. R mapper(
    1. E e
    ),
  2. dynamic matcher, {
  3. String? reason,
})

Implementation

Future<T> expectMappedLater<R>(R Function(E e) mapper, dynamic matcher,
    {String? reason}) {
  return pkg_test
      .expectLater(mapper(element), matcher, reason: reason)
      .thenChain((_) => this as T);
}