toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var conditions = this.conditions;
  var postFunctions = this.postFunctions;
  var validators = this.validators;
  var workflowId = this.workflowId;

  final json = <String, Object?>{};
  json[r'conditions'] = conditions.map((i) => i.toJson()).toList();
  json[r'postFunctions'] = postFunctions.map((i) => i.toJson()).toList();
  json[r'validators'] = validators.map((i) => i.toJson()).toList();
  json[r'workflowId'] = workflowId.toJson();
  return json;
}