save method
Saves the current YAML content to the given file.
Returns true if the save was successful, false otherwise.
Implementation
bool save(File file) {
try {
file.writeAsStringSync(_editor.toString());
return true;
} catch (e) {
return false;
}
}