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