deleteFile method

Future<void> deleteFile(
  1. String bucket,
  2. String path
)

Delete a file.

Implementation

Future<void> deleteFile(String bucket, String path) async {
  await _delete(
    '/storage/o/${Uri.encodeComponent(bucket)}/${Uri.encodeComponent(path)}',
  );
}