copyWith method
FeedEntity
copyWith(
{ - String? documentID,
- String? appId,
- String? description,
- int? thumbImage,
- bool? photoPost,
- bool? videoPost,
- bool? messagePost,
- bool? audioPost,
- bool? albumPost,
- bool? articlePost,
})
Implementation
FeedEntity copyWith({
String? documentID,
String? appId,
String? description,
int? thumbImage,
bool? photoPost,
bool? videoPost,
bool? messagePost,
bool? audioPost,
bool? albumPost,
bool? articlePost,
}) {
return FeedEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
thumbImage: thumbImage ?? this.thumbImage,
photoPost: photoPost ?? this.photoPost,
videoPost: videoPost ?? this.videoPost,
messagePost: messagePost ?? this.messagePost,
audioPost: audioPost ?? this.audioPost,
albumPost: albumPost ?? this.albumPost,
articlePost: articlePost ?? this.articlePost,
);
}