copyWith method

OgpData copyWith({
  1. String? url,
  2. String? type,
  3. String? title,
  4. String? description,
  5. String? image,
  6. String? imageSecureUrl,
  7. String? imageType,
  8. String? imageWidth,
  9. String? imageHeight,
  10. String? imageAlt,
  11. String? siteName,
  12. String? determiner,
  13. String? locale,
  14. String? localeAlternate,
  15. String? latitude,
  16. String? longitude,
  17. String? streetAddress,
  18. String? locality,
  19. String? region,
  20. String? postalCode,
  21. String? countryName,
  22. String? email,
  23. String? phoneNumber,
  24. String? faxNumber,
  25. String? video,
  26. String? videoSecureUrl,
  27. String? videoHeight,
  28. String? videoWidth,
  29. String? videoType,
  30. String? audio,
  31. String? audioSecureUrl,
  32. String? audioTitle,
  33. String? audioArtist,
  34. String? audioAlbum,
  35. String? audioType,
  36. String? fbAdmins,
  37. String? fbAppId,
  38. String? twitterCard,
  39. 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;
}