toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (initialPollDelay != null) 'initialPollDelay': initialPollDelay!,
  if (maxPollDelay != null) 'maxPollDelay': maxPollDelay!,
  if (pollDelayMultiplier != null)
    'pollDelayMultiplier': pollDelayMultiplier!,
  if (totalPollTimeout != null) 'totalPollTimeout': totalPollTimeout!,
};