toValue method
Implementation
String toValue() {
switch (this) {
case ParticipantRole.agent:
return 'AGENT';
case ParticipantRole.customer:
return 'CUSTOMER';
case ParticipantRole.system:
return 'SYSTEM';
}
}
String toValue() {
switch (this) {
case ParticipantRole.agent:
return 'AGENT';
case ParticipantRole.customer:
return 'CUSTOMER';
case ParticipantRole.system:
return 'SYSTEM';
}
}