save() Saves the layer to its source if it has unsaved changes. Declarationfunc save() throws Discussion See AlsoSaving and reloadingreload()clear()