PhotosState.failure constructor Null safety

const PhotosState.failure(
  1. Failure failure
)

Creates loading failed cubit state for photos.

Implementation

const factory PhotosState.failure(Failure failure) = _PhotosFailureState;