fromValue static method

InstanceBackendType fromValue(
  1. String value
)

Implementation

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