expectMapped<R> method

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

Implementation

Future<T> expectMapped<R>(
  R Function(E e) mapper,
  dynamic matcher, {
  String? reason,
}) => thenChain((o) => o.expectMapped(mapper, matcher, reason: reason) as T);