copyWith method
FeedFrontModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- FeedModel? feed,
- BackgroundModel? backgroundOverridePosts,
- BackgroundModel? backgroundOverrideProfile,
- StorageConditionsModel? conditions,
override
Implementation
@override
FeedFrontModel copyWith({
String? documentID,
String? appId,
String? description,
FeedModel? feed,
BackgroundModel? backgroundOverridePosts,
BackgroundModel? backgroundOverrideProfile,
StorageConditionsModel? conditions,
}) {
return FeedFrontModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
feed: feed ?? this.feed,
backgroundOverridePosts:
backgroundOverridePosts ?? this.backgroundOverridePosts,
backgroundOverrideProfile:
backgroundOverrideProfile ?? this.backgroundOverrideProfile,
conditions: conditions ?? this.conditions,
);
}