fromValue static method

HistoryTestPlatform fromValue(
  1. String value
)

Implementation

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