Timeout constructor

const Timeout(
  1. Duration? duration
)

Declares an absolute timeout that overrides the default.

Implementation

const Timeout(this.duration) : scaleFactor = null;