deleteProfilePicture method

Future<void> deleteProfilePicture(
  1. Reference oldUpload
)

Implementation

Future<void> deleteProfilePicture(Reference oldUpload) async {
  // ask backend to transform images
  await oldUpload.delete();
}