copyWith method
Implementation
InputPollOption copyWith({
FormattedText? text,
InputPollMedia? media,
}) =>
InputPollOption(
text: text ?? this.text,
media: media ?? this.media,
);
InputPollOption copyWith({
FormattedText? text,
InputPollMedia? media,
}) =>
InputPollOption(
text: text ?? this.text,
media: media ?? this.media,
);