copyWith method

  1. @override
PollTypeRegular copyWith({
  1. bool? allowMultipleAnswers,
})
override

Implementation

@override
PollTypeRegular copyWith({
  bool? allowMultipleAnswers,
}) =>
    PollTypeRegular(
      allowMultipleAnswers: allowMultipleAnswers ?? this.allowMultipleAnswers,
    );