toJson method
Implementation
@override
Object toJson() => {
if (initialPollDelay != null)
'initialPollDelay': initialPollDelay!.toJson(),
if (pollDelayMultiplier.isNotDefault)
'pollDelayMultiplier': encodeDouble(pollDelayMultiplier),
if (maxPollDelay != null) 'maxPollDelay': maxPollDelay!.toJson(),
if (totalPollTimeout != null)
'totalPollTimeout': totalPollTimeout!.toJson(),
};