Compression.fromValue constructor

Compression.fromValue(
  1. int value
)

Implementation

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