copyWith method
PayModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- ActionModel? succeeded,
- ActionModel? payAction,
- ShopModel? shop,
- 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,
);
}