Delete image folder from firebase storage when deleting firestore document

Please provide the following:

  1. SDK Version:38.0.0
  2. Platforms(Android/iOS/web/all):Android

How can achieve this?