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