fromValue static method

TemplateContentsInterpreter fromValue(
  1. String value
)

Implementation

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