toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AttackLayer.network:
      return 'NETWORK';
    case AttackLayer.application:
      return 'APPLICATION';
  }
}