copyWith abstract method

PreviewData copyWith({
  1. String? description,
  2. PreviewDataImage? image,
  3. String? link,
  4. String? title,
})

Creates a copy of the preview data with an updated data.

Implementation

PreviewData copyWith({
  String? description,
  PreviewDataImage? image,
  String? link,
  String? title,
});