PhotosState.success constructor Null safety

const PhotosState.success(
  1. List<Photo> photos
)

Creates loading succeeded cubit state for photos.

Implementation

const factory PhotosState.success(List<Photo> photos) = _PhotosSuccessState;