createFolder method

Future<Map> createFolder({
  1. String? name,
  2. String? parent_id,
  3. String? apiKey,
})

Implementation

Future<Map> createFolder({
  String? name,
  String? parent_id,
  String? apiKey,
}) async {
  Map result = await invoke(
    uriPath: "folder/create",
    uriQueryParameters: {
      "name": name,
      "parent_id": parent_id,
    },
    apiKey: apiKey,
    statusCodes: [200],
    specialTypeName: "uploadRemoteUrl",
  );

  return result;
}