copyWith method

LinkPreviewTypeBackground copyWith({
  1. Document? document,
  2. BackgroundType? backgroundType,
})

Implementation

LinkPreviewTypeBackground copyWith({
  Document? document,
  BackgroundType? backgroundType,
}) =>
    LinkPreviewTypeBackground(
      document: document ?? this.document,
      backgroundType: backgroundType ?? this.backgroundType,
    );