constructor.
PartialConnectionOptions({ this.attempts, this.nextInterval, this.interval, }) : assert(interval == null || nextInterval == null);