toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cooldownPeriod != null) 'cooldownPeriod': cooldownPeriod!,
if (sparkStandaloneConfig != null)
'sparkStandaloneConfig': sparkStandaloneConfig!,
if (yarnConfig != null) 'yarnConfig': yarnConfig!,
};