toJson method
Implementation
@override
Map<String, dynamic> toJson() {
var json = super.toJson();
if (tenantId != null) {
json['tenantId'] = tenantId!.toJson();
}
json['name'] = name;
json['type'] = type.toShortString();
json['firstRuleNodeId'] = firstRuleNodeId.toJson();
json['root'] = root;
json['debugMode'] = debugMode;
if (configuration != null) {
json['configuration'] = configuration;
}
if (externalId != null) {
json['externalId'] = externalId!.toJson();
}
return json;
}