copyWith method
BlogList
copyWith({
- num? id,
- String? projectId,
- String? pageId,
- String? slug,
- String? image,
- String? imageFull,
- String? bannerTitle,
- String? title,
- String? description,
- String? seoTitle,
- String? seoDescription,
- String? seoKeywords,
- String? seoImage,
- String? seoImageFull,
- String? tagsArray,
- String? tagsCommaseparted,
- num? publishedTime,
- String? publishedDate,
- num? createdAtTime,
- String? dateFormat,
- String? dateTime,
- String? updatedAt,
- num? updatedAtTime,
- num? isActive,
- String? masterUserId,
Implementation
BlogList copyWith({ ShareUrl? shareUrl,
num? id,
String? projectId,
String? pageId,
String? slug,
String? image,
String? imageFull,
String? bannerTitle,
String? title,
String? description,
String? seoTitle,
String? seoDescription,
String? seoKeywords,
String? seoImage,
String? seoImageFull,
String? tagsArray,
String? tagsCommaseparted,
num? publishedTime,
String? publishedDate,
num? createdAtTime,
String? dateFormat,
String? dateTime,
String? updatedAt,
num? updatedAtTime,
num? isActive,
String? masterUserId,
}) => BlogList( shareUrl: shareUrl ?? _shareUrl,
id: id ?? _id,
projectId: projectId ?? _projectId,
pageId: pageId ?? _pageId,
slug: slug ?? _slug,
image: image ?? _image,
imageFull: imageFull ?? _imageFull,
bannerTitle: bannerTitle ?? _bannerTitle,
title: title ?? _title,
description: description ?? _description,
seoTitle: seoTitle ?? _seoTitle,
seoDescription: seoDescription ?? _seoDescription,
seoKeywords: seoKeywords ?? _seoKeywords,
seoImage: seoImage ?? _seoImage,
seoImageFull: seoImageFull ?? _seoImageFull,
tagsArray: tagsArray ?? _tagsArray,
tagsCommaseparted: tagsCommaseparted ?? _tagsCommaseparted,
publishedTime: publishedTime ?? _publishedTime,
publishedDate: publishedDate ?? _publishedDate,
createdAtTime: createdAtTime ?? _createdAtTime,
dateFormat: dateFormat ?? _dateFormat,
dateTime: dateTime ?? _dateTime,
updatedAt: updatedAt ?? _updatedAt,
updatedAtTime: updatedAtTime ?? _updatedAtTime,
isActive: isActive ?? _isActive,
masterUserId: masterUserId ?? _masterUserId,
);