copyWith method

  1. @override
ProfileModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. FeedModel? feed,
  5. BackgroundModel? backgroundOverride,
  6. StorageConditionsModel? conditions,
})
override

Implementation

@override
ProfileModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  FeedModel? feed,
  BackgroundModel? backgroundOverride,
  StorageConditionsModel? conditions,
}) {
  return ProfileModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    feed: feed ?? this.feed,
    backgroundOverride: backgroundOverride ?? this.backgroundOverride,
    conditions: conditions ?? this.conditions,
  );
}