toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PiiEntitiesDetectionMaskMode.mask:
      return 'MASK';
    case PiiEntitiesDetectionMaskMode.replaceWithPiiEntityType:
      return 'REPLACE_WITH_PII_ENTITY_TYPE';
  }
}