fromValue static method

LinuxNodeConfigCgroupMode fromValue(
  1. String value
)

Implementation

static LinuxNodeConfigCgroupMode fromValue(String value) {
  for (final item in LinuxNodeConfigCgroupMode.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown LinuxNodeConfigCgroupMode value: $value');
}