copyWith method

  1. @override
PayConfirmationModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. ShopModel? shop,
  5. ActionModel? backToShopAction,
  6. StorageConditionsModel? conditions,
})
override

Implementation

@override
PayConfirmationModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  ShopModel? shop,
  ActionModel? backToShopAction,
  StorageConditionsModel? conditions,
}) {
  return PayConfirmationModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    shop: shop ?? this.shop,
    backToShopAction: backToShopAction ?? this.backToShopAction,
    conditions: conditions ?? this.conditions,
  );
}