fromValue static method

OutcomeSummary fromValue(
  1. String value
)

Implementation

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