Timeout.factor constructor Null safety

const Timeout.factor(
  1. num? scaleFactor
)

Declares a relative timeout that scales the default.

Implementation

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