copyWith method

  1. @override
KeyboardButtonTypeRequestPoll copyWith({
  1. bool? forceRegular,
  2. bool? forceQuiz,
})
override

Implementation

@override
KeyboardButtonTypeRequestPoll copyWith({
  bool? forceRegular,
  bool? forceQuiz,
}) =>
    KeyboardButtonTypeRequestPoll(
      forceRegular: forceRegular ?? this.forceRegular,
      forceQuiz: forceQuiz ?? this.forceQuiz,
    );