fromValue static method

InstanceInstanceType fromValue(
  1. String value
)

Implementation

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