toFilterName method

FilterName toFilterName()

Implementation

FilterName toFilterName() {
  switch (this) {
    case 'file-system-id':
      return FilterName.fileSystemId;
    case 'backup-type':
      return FilterName.backupType;
    case 'file-system-type':
      return FilterName.fileSystemType;
  }
  throw Exception('$this is not known in enum FilterName');
}