toValue method
Implementation
String toValue() {
switch (this) {
case PolicyType.ruleBased:
return 'RuleBased';
case PolicyType.targetBased:
return 'TargetBased';
}
}
String toValue() {
switch (this) {
case PolicyType.ruleBased:
return 'RuleBased';
case PolicyType.targetBased:
return 'TargetBased';
}
}