copyWith method

ProfileEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? feedId,
  5. BackgroundEntity? backgroundOverride,
  6. StorageConditionsEntity? conditions,
})

Implementation

ProfileEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? feedId,
  BackgroundEntity? backgroundOverride,
  StorageConditionsEntity? conditions,
}) {
  return ProfileEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    feedId: feedId ?? this.feedId,
    backgroundOverride: backgroundOverride ?? this.backgroundOverride,
    conditions: conditions ?? this.conditions,
  );
}