fromValue static method

DeploymentPlatform fromValue(
  1. String value
)

Implementation

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