set static method

dynamic set(
  1. String endpoint, {
  2. Map<String, String>? args,
  3. List<MultipartFile>? files,
})

Implementation

static set(String endpoint,
    {Map<String, String>? args, List<MultipartFile>? files}) async {
  try {
    await _post(endpoint, body: args, files: files);
  } catch (e) {
    log(e.toString(), error: e);
  }
}