toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var updateDraftIfNeeded = this.updateDraftIfNeeded;
  var workflow = this.workflow;

  final json = <String, Object?>{};
  json[r'updateDraftIfNeeded'] = updateDraftIfNeeded;
  json[r'workflow'] = workflow;
  return json;
}