copyWith method

PayEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. ActionEntity? succeeded,
  5. ActionEntity? payAction,
  6. String? shopId,
  7. 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,
  );
}