fromName static method

SSHCipherType? fromName(
  1. String name
)

Implementation

static SSHCipherType? fromName(String name) {
  for (final value in values) {
    if (value.name == name) {
      return value;
    }
  }
  return null;
}