toString method
A string representation of this object.
Some classes have a default textual representation,
often paired with a static parse
function (like int.parse).
These classes will provide the textual representation as
their string representation.
Other classes have no meaningful textual representation
that a program will care about.
Such classes will typically override toString
to provide
useful information when inspecting the object,
mainly for debugging or logging.
Implementation
@override
String toString() {
final $buf = StringBuffer()..writeln('IssuingAuthorization(');
$buf
..writeln()
..write(' amount: ')
..write(amount)
..write(',');
if (amountDetails != null) {
$buf
..writeln()
..write(' amount_details: ')
..write(amountDetails)
..write(',');
}
$buf
..writeln()
..write(' approved: ')
..write(approved)
..write(',');
$buf
..writeln()
..write(' authorization_method: ')
..write(authorizationMethod)
..write(',');
$buf
..writeln()
..write(' balance_transactions: ')
..write(balanceTransactions)
..write(',');
$buf
..writeln()
..write(' card: ')
..write(card)
..write(',');
if (cardholder != null) {
$buf
..writeln()
..write(' cardholder: ')
..write(cardholder)
..write(',');
}
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
$buf
..writeln()
..write(' currency: ')
..write(currency)
..write(',');
$buf
..writeln()
..write(' id: ')
..write(id)
..write(',');
$buf
..writeln()
..write(' livemode: ')
..write(livemode)
..write(',');
$buf
..writeln()
..write(' merchant_amount: ')
..write(merchantAmount)
..write(',');
$buf
..writeln()
..write(' merchant_currency: ')
..write(merchantCurrency)
..write(',');
$buf
..writeln()
..write(' merchant_data: ')
..write(merchantData)
..write(',');
$buf
..writeln()
..write(' metadata: ')
..write(metadata)
..write(',');
if (networkData != null) {
$buf
..writeln()
..write(' network_data: ')
..write(networkData)
..write(',');
}
$buf
..writeln()
..write(' object: ')
..write(object)
..write(',');
if (pendingRequest != null) {
$buf
..writeln()
..write(' pending_request: ')
..write(pendingRequest)
..write(',');
}
$buf
..writeln()
..write(' request_history: ')
..write(requestHistory)
..write(',');
$buf
..writeln()
..write(' status: ')
..write(status)
..write(',');
if (token != null) {
$buf
..writeln()
..write(' token: ')
..write(token)
..write(',');
}
$buf
..writeln()
..write(' transactions: ')
..write(transactions)
..write(',');
if (treasury != null) {
$buf
..writeln()
..write(' treasury: ')
..write(treasury)
..write(',');
}
$buf
..writeln()
..write(' verification_data: ')
..write(verificationData)
..write(',');
if (wallet != null) {
$buf
..writeln()
..write(' wallet: ')
..write(wallet)
..write(',');
}
$buf.write(')');
return $buf.toString();
}