toValue method
Implementation
String toValue() {
switch (this) {
case PiiEntitiesDetectionMode.onlyRedaction:
return 'ONLY_REDACTION';
case PiiEntitiesDetectionMode.onlyOffsets:
return 'ONLY_OFFSETS';
}
}
String toValue() {
switch (this) {
case PiiEntitiesDetectionMode.onlyRedaction:
return 'ONLY_REDACTION';
case PiiEntitiesDetectionMode.onlyOffsets:
return 'ONLY_OFFSETS';
}
}