toAssemblyType method

AssemblyType toAssemblyType()

Implementation

AssemblyType toAssemblyType() {
  switch (this) {
    case 'None':
      return AssemblyType.none;
    case 'Line':
      return AssemblyType.line;
  }
  throw Exception('$this is not known in enum AssemblyType');
}