copyWith method

  1. @override
FeedFrontModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. FeedModel? feed,
  5. BackgroundModel? backgroundOverridePosts,
  6. BackgroundModel? backgroundOverrideProfile,
  7. 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,
  );
}