copyWith method

UpdatePoll copyWith({
  1. Poll? poll,
})

Implementation

UpdatePoll copyWith({
  Poll? poll,
}) =>
    UpdatePoll(
      poll: poll ?? this.poll,
    );