copyWith method
Implementation
GalleryValue copyWith({
List<GalleryAsset>? selectedAssets,
bool? isAlbumVisible,
}) {
return GalleryValue(
selectedAssets: selectedAssets ?? this.selectedAssets,
isAlbumVisible: isAlbumVisible ?? this.isAlbumVisible,
);
}