copyWith method
ProfileModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- FeedModel? feed,
- BackgroundModel? backgroundOverride,
- 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,
);
}