toTargetType method

TargetType toTargetType()

Implementation

TargetType toTargetType() {
  switch (this) {
    case 'container-instance':
      return TargetType.containerInstance;
  }
  throw Exception('$this is not known in enum TargetType');
}