timeout property Null safety

Duration? timeout
final

The maximum amount of time to wait for the command to complete.

Defaults to no timeout, because it is common for operations to take oddly long in test environments (e.g. because the test host is overloaded), and having timeouts essentially means having race conditions.

Implementation

final Duration? timeout;