set method

Future<Response> set(
  1. Map values
)

Implementation

Future<Response> set(Map<dynamic, dynamic> values) async {
  if (queryTree.n == null) {
    throw "Specify service to send request to";
  }
  postData = values;

  String link = toLink();

  return await makeRequest(
    endpoint: link,
    method: RequestMethods.post,
    params: postData,
  );
}