toTaskDefinitionPlacementConstraintType method

TaskDefinitionPlacementConstraintType toTaskDefinitionPlacementConstraintType()

Implementation

TaskDefinitionPlacementConstraintType
    toTaskDefinitionPlacementConstraintType() {
  switch (this) {
    case 'memberOf':
      return TaskDefinitionPlacementConstraintType.memberOf;
  }
  throw Exception(
      '$this is not known in enum TaskDefinitionPlacementConstraintType');
}