valueOf static method

CodeFormat? valueOf(
  1. String name
)

Implementation

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