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