valueOf static method

CodeFormat? valueOf(
  1. String name
)

Implementation

static CodeFormat? valueOf(String name) =>
    CodeFormat.values.firstWhereOrNull((value) => value.name == name);