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