copyWith method

GalleryValue copyWith({
  1. List<MediaEntity>? selectedEntities,
  2. bool? previousSelection,
  3. bool? isAlbumVisible,
})

Implementation

GalleryValue copyWith({
  List<MediaEntity>? selectedEntities,
  bool? previousSelection,
  bool? isAlbumVisible,
}) =>
    GalleryValue(
      selectedEntities: selectedEntities ?? this.selectedEntities,
      previousSelection: previousSelection ?? this.previousSelection,
      isAlbumVisible: isAlbumVisible ?? this.isAlbumVisible,
    );