toValue method
Implementation
String toValue() {
switch (this) {
case ProtectionPolicy.noProtection:
return 'NoProtection';
case ProtectionPolicy.fullProtection:
return 'FullProtection';
}
}
String toValue() {
switch (this) {
case ProtectionPolicy.noProtection:
return 'NoProtection';
case ProtectionPolicy.fullProtection:
return 'FullProtection';
}
}