copyWith method

TaPayInsertionModel copyWith({
  1. String? responseCode,
  2. String? message,
  3. String? balance,
  4. String? trxnID,
})

Implementation

TaPayInsertionModel copyWith({
  String? responseCode,
  String? message,
  String? balance,
  String? trxnID,
}) =>
    TaPayInsertionModel(
      responseCode: responseCode ?? _responseCode,
      message: message ?? _message,
      balance: balance ?? _balance,
      trxnID: trxnID ?? _trxnID,
    );