toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final filter = this.filter;
  final ruleName = this.ruleName;
  return {
    'filter': filter,
    'ruleName': ruleName,
  };
}