copyWith method

  1. @override
OrderOverviewModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. ShopModel? shop,
  5. BackgroundModel? itemImageBackground,
  6. BackgroundModel? itemDetailBackground,
  7. StorageConditionsModel? conditions,
})
override

Implementation

@override
OrderOverviewModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  ShopModel? shop,
  BackgroundModel? itemImageBackground,
  BackgroundModel? itemDetailBackground,
  StorageConditionsModel? conditions,
}) {
  return OrderOverviewModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    shop: shop ?? this.shop,
    itemImageBackground: itemImageBackground ?? this.itemImageBackground,
    itemDetailBackground: itemDetailBackground ?? this.itemDetailBackground,
    conditions: conditions ?? this.conditions,
  );
}