toFileExistsBehavior method
Implementation
FileExistsBehavior toFileExistsBehavior() {
switch (this) {
case 'DISALLOW':
return FileExistsBehavior.disallow;
case 'OVERWRITE':
return FileExistsBehavior.overwrite;
case 'RETAIN':
return FileExistsBehavior.retain;
}
throw Exception('$this is not known in enum FileExistsBehavior');
}