save

fun save()

Saves the current configuration to the file.

Throws

if an I/O error or serialization error occurs.