toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final priority = this.priority;
  final ruleArn = this.ruleArn;
  return {
    if (priority != null) 'Priority': priority,
    if (ruleArn != null) 'RuleArn': ruleArn,
  };
}