fromValue static method

UpgradeHistoryEntryAction fromValue(
  1. String value
)

Implementation

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