copyWith method

  1. @override
DynamicWidgetModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? content,
  5. BackgroundModel? background,
  6. StorageConditionsModel? conditions,
})
override

Implementation

@override
DynamicWidgetModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? content,
  BackgroundModel? background,
  StorageConditionsModel? conditions,
}) {
  return DynamicWidgetModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    content: content ?? this.content,
    background: background ?? this.background,
    conditions: conditions ?? this.conditions,
  );
}