delete method

Future<void> delete()

Deletes a directory from the bucket.

Implementation

Future<void> delete() async {
  await ApillonApi.delete('$apiPrefix/directories/$uuid');
  ApillonLogger.log('Directory deleted successfully');
}