copyWith method

PayConfirmationEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? shopId,
  5. ActionEntity? backToShopAction,
  6. StorageConditionsEntity? conditions,
})

Implementation

PayConfirmationEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? shopId,
  ActionEntity? backToShopAction,
  StorageConditionsEntity? conditions,
}) {
  return PayConfirmationEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    shopId: shopId ?? this.shopId,
    backToShopAction: backToShopAction ?? this.backToShopAction,
    conditions: conditions ?? this.conditions,
  );
}