PhotoState.failure constructor Null safety

const PhotoState.failure(
  1. Failure failure
)

Creates loading failed cubit state for a photo.

Implementation

const factory PhotoState.failure(Failure failure) = _PhotoFailureState;