copyWith method

  1. @override
PushMessageContentPoll copyWith({
  1. String? question,
  2. bool? isRegular,
  3. bool? isPinned,
})
override

Implementation

@override
PushMessageContentPoll copyWith({
  String? question,
  bool? isRegular,
  bool? isPinned,
}) => PushMessageContentPoll(
  question: question ?? this.question,
  isRegular: isRegular ?? this.isRegular,
  isPinned: isPinned ?? this.isPinned,
);