disposeController method

void disposeController()

Implementation

void disposeController() {
  _media = null;
  _selectedFiles = [];
  _isInitialized = false;
  Get.delete<PhoneGalleryController>();
  update();
}