tap method Null safety

Future<void> tap(
  1. SerializableFinder finder,
  2. {Duration? timeout}
)

Taps at the center of the widget located by finder.

Implementation

Future<void> tap(SerializableFinder finder, { Duration? timeout }) async {
  await sendCommand(Tap(finder, timeout: timeout));
}