fromValue static method

MappingRuleState fromValue(
  1. String value
)

Implementation

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