copyWith method
Implementation
LinkPreviewOptions copyWith({
bool? isDisabled,
String? url,
bool? forceSmallMedia,
bool? forceLargeMedia,
bool? showAboveText,
}) => LinkPreviewOptions(
isDisabled: isDisabled ?? this.isDisabled,
url: url ?? this.url,
forceSmallMedia: forceSmallMedia ?? this.forceSmallMedia,
forceLargeMedia: forceLargeMedia ?? this.forceLargeMedia,
showAboveText: showAboveText ?? this.showAboveText,
);