expectMatch method

T expectMatch(
  1. dynamic matcher, {
  2. String? reason,
})

Implementation

T expectMatch(dynamic matcher, {String? reason}) {
  _expect(element, matcher, reason: reason);
  return this as T;
}