copyWith method
DecoratedContentEntity
copyWith(
{ - String? documentID,
- String? appId,
- String? description,
- String? decoratingComponentName,
- String? decoratingComponentId,
- String? contentComponentName,
- String? contentComponentId,
- int? decorationComponentPosition,
- double? percentageDecorationVisible,
- StorageConditionsEntity? conditions,
})
Implementation
DecoratedContentEntity copyWith({
String? documentID,
String? appId,
String? description,
String? decoratingComponentName,
String? decoratingComponentId,
String? contentComponentName,
String? contentComponentId,
int? decorationComponentPosition,
double? percentageDecorationVisible,
StorageConditionsEntity? conditions,
}) {
return DecoratedContentEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
decoratingComponentName:
decoratingComponentName ?? this.decoratingComponentName,
decoratingComponentId:
decoratingComponentId ?? this.decoratingComponentId,
contentComponentName: contentComponentName ?? this.contentComponentName,
contentComponentId: contentComponentId ?? this.contentComponentId,
decorationComponentPosition:
decorationComponentPosition ?? this.decorationComponentPosition,
percentageDecorationVisible:
percentageDecorationVisible ?? this.percentageDecorationVisible,
conditions: conditions ?? this.conditions,
);
}