toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final action = this.action;
  final activatedRule = this.activatedRule;
  return {
    'Action': action.toValue(),
    'ActivatedRule': activatedRule,
  };
}