toFileSystemMaintenanceOperation method

FileSystemMaintenanceOperation toFileSystemMaintenanceOperation()

Implementation

FileSystemMaintenanceOperation toFileSystemMaintenanceOperation() {
  switch (this) {
    case 'PATCHING':
      return FileSystemMaintenanceOperation.patching;
    case 'BACKING_UP':
      return FileSystemMaintenanceOperation.backingUp;
  }
  throw Exception(
      '$this is not known in enum FileSystemMaintenanceOperation');
}