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 (createOrgId != null) data["createOrgId"] = createOrgId;
  if (numbers != null) data["numbers"] = numbers;
  if (ids != null) data["ids"] = ids;
  if (networkCtrl != null) data["networkCtrl"] = networkCtrl;
  if (interationFlags != null) data["interationFlags"] = interationFlags;

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