copyWith method
OgpData
copyWith({
- String? url,
- String? type,
- String? title,
- String? description,
- String? image,
- String? imageSecureUrl,
- String? imageType,
- String? imageWidth,
- String? imageHeight,
- String? imageAlt,
- String? siteName,
- String? determiner,
- String? locale,
- String? localeAlternate,
- String? latitude,
- String? longitude,
- String? streetAddress,
- String? locality,
- String? region,
- String? postalCode,
- String? countryName,
- String? email,
- String? phoneNumber,
- String? faxNumber,
- String? video,
- String? videoSecureUrl,
- String? videoHeight,
- String? videoWidth,
- String? videoType,
- String? audio,
- String? audioSecureUrl,
- String? audioTitle,
- String? audioArtist,
- String? audioAlbum,
- String? audioType,
- String? fbAdmins,
- String? fbAppId,
- String? twitterCard,
- String? twitterSite,
Implementation
OgpData copyWith({
String? url,
String? type,
String? title,
String? description,
String? image,
String? imageSecureUrl,
String? imageType,
String? imageWidth,
String? imageHeight,
String? imageAlt,
String? siteName,
String? determiner,
String? locale,
String? localeAlternate,
String? latitude,
String? longitude,
String? streetAddress,
String? locality,
String? region,
String? postalCode,
String? countryName,
String? email,
String? phoneNumber,
String? faxNumber,
String? video,
String? videoSecureUrl,
String? videoHeight,
String? videoWidth,
String? videoType,
String? audio,
String? audioSecureUrl,
String? audioTitle,
String? audioArtist,
String? audioAlbum,
String? audioType,
String? fbAdmins,
String? fbAppId,
String? twitterCard,
String? twitterSite,
}) {
final OgpData o = OgpData();
o.url = url ?? this.url;
o.type = type ?? this.type;
o.title = title ?? this.title;
o.description = description ?? this.description;
o.image = image ?? this.image;
o.imageSecureUrl = imageSecureUrl ?? this.imageSecureUrl;
o.imageType = imageType ?? this.imageType;
o.imageWidth = imageWidth ?? this.imageWidth;
o.imageHeight = imageHeight ?? this.imageHeight;
o.imageAlt = imageAlt ?? this.imageAlt;
o.siteName = siteName ?? this.siteName;
o.determiner = determiner ?? this.determiner;
o.locale = locale ?? this.locale;
o.localeAlternate = localeAlternate ?? this.localeAlternate;
o.latitude = latitude ?? this.latitude;
o.longitude = longitude ?? this.longitude;
o.streetAddress = streetAddress ?? this.streetAddress;
o.locality = locality ?? this.locality;
o.region = region ?? this.region;
o.postalCode = postalCode ?? this.postalCode;
o.countryName = countryName ?? this.countryName;
o.email = email ?? this.email;
o.phoneNumber = phoneNumber ?? this.phoneNumber;
o.faxNumber = faxNumber ?? this.faxNumber;
o.video = video ?? this.video;
o.videoSecureUrl = videoSecureUrl ?? this.videoSecureUrl;
o.videoHeight = videoHeight ?? this.videoHeight;
o.videoWidth = videoWidth ?? this.videoWidth;
o.videoType = videoType ?? this.videoType;
o.audio = audio ?? this.audio;
o.audioSecureUrl = audioSecureUrl ?? this.audioSecureUrl;
o.audioTitle = audioTitle ?? this.audioTitle;
o.audioArtist = audioArtist ?? this.audioArtist;
o.audioAlbum = audioAlbum ?? this.audioAlbum;
o.audioType = audioType ?? this.audioType;
o.fbAdmins = fbAdmins ?? this.fbAdmins;
o.fbAppId = fbAppId ?? this.fbAppId;
o.twitterCard = twitterCard ?? this.twitterCard;
o.twitterSite = twitterSite ?? this.twitterSite;
return o;
}