copyWith method

OrderOverviewEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? shopId,
  5. BackgroundEntity? itemImageBackground,
  6. BackgroundEntity? itemDetailBackground,
  7. StorageConditionsEntity? conditions,
})

Implementation

OrderOverviewEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? shopId,
  BackgroundEntity? itemImageBackground,
  BackgroundEntity? itemDetailBackground,
  StorageConditionsEntity? conditions,
}) {
  return OrderOverviewEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    shopId: shopId ?? this.shopId,
    itemImageBackground: itemImageBackground ?? this.itemImageBackground,
    itemDetailBackground: itemDetailBackground ?? this.itemDetailBackground,
    conditions: conditions ?? this.conditions,
  );
}