Cipher.fromValue constructor

Cipher.fromValue(
  1. int value
)

Implementation

factory Cipher.fromValue(int value) {
  final result = values[value];
  if (result == null) {
    throw StateError('Invalid value $value for bit flag enum Cipher');
  }
  return result;
}