toHomeDirectoryType method

HomeDirectoryType toHomeDirectoryType()

Implementation

HomeDirectoryType toHomeDirectoryType() {
  switch (this) {
    case 'PATH':
      return HomeDirectoryType.path;
    case 'LOGICAL':
      return HomeDirectoryType.logical;
  }
  throw Exception('$this is not known in enum HomeDirectoryType');
}