toAccessMethodType method
Implementation
AccessMethodType toAccessMethodType() {
switch (this) {
case 'CA_REPOSITORY':
return AccessMethodType.caRepository;
case 'RESOURCE_PKI_MANIFEST':
return AccessMethodType.resourcePkiManifest;
case 'RESOURCE_PKI_NOTIFY':
return AccessMethodType.resourcePkiNotify;
}
throw Exception('$this is not known in enum AccessMethodType');
}