toWafActionType method

WafActionType toWafActionType()

Implementation

WafActionType toWafActionType() {
  switch (this) {
    case 'BLOCK':
      return WafActionType.block;
    case 'ALLOW':
      return WafActionType.allow;
    case 'COUNT':
      return WafActionType.count;
  }
  throw Exception('$this is not known in enum WafActionType');
}