toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProtectionPolicy.noProtection:
      return 'NoProtection';
    case ProtectionPolicy.fullProtection:
      return 'FullProtection';
  }
}