toJson method

  1. @override
Map<String, dynamic> toJson()
override

Convert the parameter model to a json map.

Implementation

@override
Map<String, dynamic> toJson() {
  Map<String, dynamic> data = {};
  if (needUpDateFields != null) data["needUpDateFields"] = needUpDateFields;
  if (needReturnFields != null) data["needReturnFields"] = needReturnFields;
  if (isDeleteEntry != null) data["isDeleteEntry"] = isDeleteEntry;
  if (subSystemId != null) data["subSystemId"] = subSystemId;
  if (isVerifyBaseDataField != null) data["isVerifyBaseDataField"] = isVerifyBaseDataField;
  if (isEntryBatchFill != null) data["isEntryBatchFill"] = isEntryBatchFill;
  if (validateFlag != null) data["validateFlag"] = validateFlag;
  if (numberSearch != null) data["numberSearch"] = numberSearch;
  if (ignoreInterationFlag != null) data["ignoreInterationFlag"] = ignoreInterationFlag;
  if (interationFlags != null) data["interationFlags"] = interationFlags;
  if (batchCount != null) data["batchCount"] = batchCount;
  if (isAutoAdjustField != null) data["isAutoAdjustField"] = isAutoAdjustField;
  if (model != null) data["model"] = model;
  if (isAutoSubmitAndAudit != null) data["isAutoSubmitAndAudit"] = isAutoSubmitAndAudit;

  Map<String, dynamic> json = {};
  if (formId != null) json["formId"] = formId;
  json["data"] = data;
  return json;
}