discontinuedPackage aws_deploy_api has been discontinued and replaced by aws_client.

toTargetLabel method

TargetLabel toTargetLabel()

Implementation

TargetLabel toTargetLabel() {
  switch (this) {
    case 'Blue':
      return TargetLabel.blue;
    case 'Green':
      return TargetLabel.green;
  }
  throw Exception('$this is not known in enum TargetLabel');
}