waitForDataMatch method

Future<bool> waitForDataMatch(
  1. Pattern dataMatcher, {
  2. Duration? timeout,
})

Waits for dataMatcher with a timeout.

Implementation

Future<bool> waitForDataMatch(Pattern dataMatcher, {Duration? timeout}) =>
    _outputStream.waitForDataMatch(dataMatcher, timeout: timeout);