copyWith method

TransactionTerminal copyWith({
  1. SendPosPaymentModel? request,
  2. ResponseOperationPaymentModel? result,
  3. bool? checkCalled,
  4. String? checkCheckSystem,
  5. String? checkPaySystem,
  6. DateTime? createAtUTC,
  7. int? idTransactionInt,
  8. String? idTransactionString,
  9. bool? payCalled,
  10. bool? refundCalled,
  11. double? sumFull,
  12. TransactionType? transactionType,
})

Implementation

TransactionTerminal copyWith({
  SendPosPaymentModel? request,
  ResponseOperationPaymentModel? result,
  bool? checkCalled,
  String? checkCheckSystem,
  String? checkPaySystem,
  DateTime? createAtUTC,
  int? idTransactionInt,
  String? idTransactionString,
  bool? payCalled,
  bool? refundCalled,
  double? sumFull,
  TransactionType? transactionType,
}) {
  return TransactionTerminal(
    request: request ?? this.request,
    result: result ?? this.result,
    checkCalled: checkCalled ?? this.checkCalled,
    checkCheckSystem: checkCheckSystem ?? this.checkCheckSystem,
    checkPaySystem: checkPaySystem ?? this.checkPaySystem,
    createAtUTC: createAtUTC ?? this.createAtUTC,
    idTransactionInt: idTransactionInt ?? this.idTransactionInt,
    idTransactionString: idTransactionString ?? this.idTransactionString,
    payCalled: payCalled ?? this.payCalled,
    refundCalled: refundCalled ?? this.refundCalled,
    sumFull: sumFull ?? this.sumFull,
    transactionType: transactionType ?? this.transactionType,
  );
}