copyWith method

BotMediaPreviews copyWith({
  1. List<BotMediaPreview>? previews,
})

Implementation

BotMediaPreviews copyWith({List<BotMediaPreview>? previews}) =>
    BotMediaPreviews(previews: previews ?? this.previews);