copyWith method
PayEntity
copyWith({
- String? documentID,
- String? appId,
- String? description,
- ActionEntity? succeeded,
- ActionEntity? payAction,
- String? shopId,
- StorageConditionsEntity? conditions,
Implementation
PayEntity copyWith({
String? documentID,
String? appId,
String? description,
ActionEntity? succeeded,
ActionEntity? payAction,
String? shopId,
StorageConditionsEntity? conditions,
}) {
return PayEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
succeeded: succeeded ?? this.succeeded,
payAction: payAction ?? this.payAction,
shopId: shopId ?? this.shopId,
conditions: conditions ?? this.conditions,
);
}