toLaunchType method

LaunchType toLaunchType()

Implementation

LaunchType toLaunchType() {
  switch (this) {
    case 'EC2':
      return LaunchType.ec2;
    case 'FARGATE':
      return LaunchType.fargate;
  }
  throw Exception('$this is not known in enum LaunchType');
}