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