toEncodingType method

EncodingType toEncodingType()

Implementation

EncodingType toEncodingType() {
  switch (this) {
    case 'SSH':
      return EncodingType.ssh;
    case 'PEM':
      return EncodingType.pem;
  }
  throw Exception('$this is not known in enum EncodingType');
}