copyWith method

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

Implementation

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