PhotoState.success constructor Null safety

const PhotoState.success(
  1. Photo photo
)

Creates loading succeeded cubit state for a photo.

Implementation

const factory PhotoState.success(Photo photo) = _PhotoSuccessState;