toJson method

  1. @override
Object toJson()
override

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(),
};