copyWith method

Reaction copyWith({
  1. List<String>? reactions,
  2. List<String>? reactedUserIds,
})

Implementation

Reaction copyWith({
  List<String>? reactions,
  List<String>? reactedUserIds,
}) {
  return Reaction(
    reactions: reactions ?? this.reactions,
    reactedUserIds: reactedUserIds ?? this.reactedUserIds,
  );
}