fromValue static method

ReplicaInfoType fromValue(
  1. String value
)

Implementation

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