expectMapped<R> method
Implementation
T expectMapped<R>(R Function(E e) mapper, dynamic matcher, {String? reason}) {
_expect(mapper(element), matcher, reason: reason);
return this as T;
}
T expectMapped<R>(R Function(E e) mapper, dynamic matcher, {String? reason}) {
_expect(mapper(element), matcher, reason: reason);
return this as T;
}