copyWith method

DynamicWidgetEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? content,
  5. BackgroundEntity? background,
  6. StorageConditionsEntity? conditions,
})

Implementation

DynamicWidgetEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? content,
  BackgroundEntity? background,
  StorageConditionsEntity? conditions,
}) {
  return DynamicWidgetEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    content: content ?? this.content,
    background: background ?? this.background,
    conditions: conditions ?? this.conditions,
  );
}