TimeoutException(String message, [ Duration duration ])

Source

TimeoutException(this.message, [this.duration]);