toJson method

Map<String, dynamic> toJson()

Implementation

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