copyWith method

PollMediaLink copyWith({
  1. String? url,
  2. LinkPreview? linkPreview,
})

Implementation

PollMediaLink copyWith({
  String? url,
  LinkPreview? linkPreview,
}) =>
    PollMediaLink(
      url: url ?? this.url,
      linkPreview: linkPreview ?? this.linkPreview,
    );