PhotosState.inProgress constructor Null safety

const PhotosState.inProgress(
  1. {List<Photo>? currentPhotos}
)

Creates loading cubit state for photos.

Implementation

const factory PhotosState.inProgress({List<Photo>? currentPhotos}) =
    _PhotosInProgressState;