copyWith method

InputPollTypeRegular copyWith({
  1. bool? allowAddingOptions,
})

Implementation

InputPollTypeRegular copyWith({bool? allowAddingOptions}) =>
    InputPollTypeRegular(
      allowAddingOptions: allowAddingOptions ?? this.allowAddingOptions,
    );