core.Map<core.String, core.dynamic> toJson() => { if (silenceDuration != null) 'silenceDuration': silenceDuration!, if (silencePercentage != null) 'silencePercentage': silencePercentage!, };