toArchitecture method
Implementation
Architecture toArchitecture() {
switch (this) {
case 'x86_64':
return Architecture.x86_64;
case 'i386':
return Architecture.i386;
}
throw Exception('$this is not known in enum Architecture');
}