toJson method
Implementation
Map<String, Object?> toJson() {
var availableTypes = this.availableTypes;
var ruleKey = this.ruleKey;
final json = <String, Object?>{};
json[r'availableTypes'] = availableTypes.map((i) => i.toJson()).toList();
json[r'ruleKey'] = ruleKey;
return json;
}