toAutoImportPolicyType method
Implementation
AutoImportPolicyType toAutoImportPolicyType() {
switch (this) {
case 'NONE':
return AutoImportPolicyType.none;
case 'NEW':
return AutoImportPolicyType.$new;
case 'NEW_CHANGED':
return AutoImportPolicyType.newChanged;
}
throw Exception('$this is not known in enum AutoImportPolicyType');
}