copyWith method

NiceSocialUserState copyWith({
  1. bool? liked,
  2. bool? shared,
  3. bool? bookmarked,
})

Implementation

NiceSocialUserState copyWith({bool? liked, bool? shared, bool? bookmarked}) {
  return NiceSocialUserState(
    liked: liked ?? this.liked,
    shared: shared ?? this.shared,
    bookmarked: bookmarked ?? this.bookmarked,
  );
}