duration property

Duration? duration
final

The timeout duration.

If set, this overrides the default duration entirely. It's null for timeouts with a non-null scaleFactor and for Timeout.none.

Implementation

final Duration? duration;