toApplication method
Implementation
Application toApplication() {
switch (this) {
case 'Microsoft_Office_2016':
return Application.microsoftOffice_2016;
case 'Microsoft_Office_2019':
return Application.microsoftOffice_2019;
}
throw Exception('$this is not known in enum Application');
}