PhotoLikeState.inProgress constructor Null safety
- {required bool like}
Creates loading cubit state for liking a photo.
Contains true if photo is being liked and false if unliked.
Implementation
const factory PhotoLikeState.inProgress({required bool like}) =
_PhotoLikeInProgressState;