updateStateFromExternal method
Update private state by function call from external function.
Implementation
void updateStateFromExternal(
{AssetPathEntity? album, List<ImageObject>? selectedImages}) {
if (selectedImages != null) {
_selectedImages = [...selectedImages];
}
if (album != null) {
_assets.clear();
_thumbnailCache.clear();
_album = album;
_fetchMedia(_album);
}
}