fromValue static method

SnapshotSnapshotType fromValue(
  1. String value
)

Implementation

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