copyWith method

PollOptionProperties copyWith({
  1. bool? canBeDeleted,
  2. bool? canBeReplied,
  3. bool? canBeRepliedInAnotherChat,
  4. bool? canGetLink,
})

Implementation

PollOptionProperties copyWith({
  bool? canBeDeleted,
  bool? canBeReplied,
  bool? canBeRepliedInAnotherChat,
  bool? canGetLink,
}) => PollOptionProperties(
  canBeDeleted: canBeDeleted ?? this.canBeDeleted,
  canBeReplied: canBeReplied ?? this.canBeReplied,
  canBeRepliedInAnotherChat:
      canBeRepliedInAnotherChat ?? this.canBeRepliedInAnotherChat,
  canGetLink: canGetLink ?? this.canGetLink,
);