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