toJson method
Implementation
Map<String, Object?> toJson() {
var invalidRules = this.invalidRules;
var validRules = this.validRules;
var workflowEntityId = this.workflowEntityId;
final json = <String, Object?>{};
json[r'invalidRules'] = invalidRules;
json[r'validRules'] = validRules.map((i) => i.toJson()).toList();
if (workflowEntityId != null) {
json[r'workflowEntityId'] = workflowEntityId;
}
return json;
}