copyWith method
OrderOverviewModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- ShopModel? shop,
- BackgroundModel? itemImageBackground,
- BackgroundModel? itemDetailBackground,
- 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,
);
}