copyWith method
FeedData
copyWith({
- String? id,
- String? title,
- String? description,
- String? type,
- String? publishedDate,
- String? publishedDateFormat,
- String? publishedDateFormatTime,
- String? media,
- String? image,
- String? thumbImage,
- String? isActive,
- String? masterUserId,
- String? createdAt,
- String? createdTime,
- String? updatedAt,
- String? updatedTime,
Implementation
FeedData copyWith({ String? id,
String? title,
String? description,
String? type,
String? publishedDate,
String? publishedDateFormat,
String? publishedDateFormatTime,
String? media,
String? image,
String? thumbImage,
String? isActive,
String? masterUserId,
String? createdAt,
String? createdTime,
String? updatedAt,
String? updatedTime,
}) => FeedData( id: id ?? _id,
title: title ?? _title,
description: description ?? _description,
type: type ?? _type,
publishedDate: publishedDate ?? _publishedDate,
publishedDateFormat: publishedDateFormat ?? _publishedDateFormat,
publishedDateFormatTime: publishedDateFormatTime ?? _publishedDateFormatTime,
media: media ?? _media,
image: image ?? _image,
thumbImage: thumbImage ?? _thumbImage,
isActive: isActive ?? _isActive,
masterUserId: masterUserId ?? _masterUserId,
createdAt: createdAt ?? _createdAt,
createdTime: createdTime ?? _createdTime,
updatedAt: updatedAt ?? _updatedAt,
updatedTime: updatedTime ?? _updatedTime,
);