copyWith method
FastResponseAd
copyWith({
- String? language,
- String? title,
- String? description,
- FastResponseAdAsset? image,
- String? url,
- FastResponseAdMerchant? merchant,
- FastResponseAdRanking? ranking,
- FastResponseAdAsset? video,
- String? discount,
- String? button,
- String? price,
override
Creates a new FastResponseAd object with the specified properties replaced by the provided values.
Implementation
@override
FastResponseAd copyWith({
String? language,
String? title,
String? description,
FastResponseAdAsset? image,
String? url,
FastResponseAdMerchant? merchant,
FastResponseAdRanking? ranking,
FastResponseAdAsset? video,
String? discount,
String? button,
String? price,
}) {
return FastResponseAd(
language: language ?? this.language,
title: title ?? this.title,
description: description ?? this.description,
image: image ?? this.image,
url: url ?? this.url,
ranking: ranking ?? this.ranking,
video: video ?? this.video,
discount: discount ?? this.discount,
merchant: merchant ?? this.merchant,
button: button ?? this.button,
price: price ?? this.price,
);
}