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