PhotoLikeState.success constructor Null safety
- {required bool like}
Creates loading succeeded cubit state for liking a photo.
Contains true if photo was liked and false if it was unliked.
Implementation
const factory PhotoLikeState.success({required bool like}) =
_PhotoLikeSuccessState;