toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RetentionType.retain:
      return 'Retain';
    case RetentionType.delete:
      return 'Delete';
  }
}