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('TreasuryInboundTransfer(');
$buf
..writeln()
..write(' amount: ')
..write(amount)
..write(',');
$buf
..writeln()
..write(' cancelable: ')
..write(cancelable)
..write(',');
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
$buf
..writeln()
..write(' currency: ')
..write(currency)
..write(',');
if (description != null) {
$buf
..writeln()
..write(' description: ')
..write(description)
..write(',');
}
if (failureDetails != null) {
$buf
..writeln()
..write(' failure_details: ')
..write(failureDetails)
..write(',');
}
$buf
..writeln()
..write(' financial_account: ')
..write(financialAccount)
..write(',');
if (hostedRegulatoryReceiptUrl != null) {
$buf
..writeln()
..write(' hosted_regulatory_receipt_url: ')
..write(hostedRegulatoryReceiptUrl)
..write(',');
}
$buf
..writeln()
..write(' id: ')
..write(id)
..write(',');
$buf
..writeln()
..write(' linked_flows: ')
..write(linkedFlows)
..write(',');
$buf
..writeln()
..write(' livemode: ')
..write(livemode)
..write(',');
$buf
..writeln()
..write(' metadata: ')
..write(metadata)
..write(',');
$buf
..writeln()
..write(' object: ')
..write(object)
..write(',');
$buf
..writeln()
..write(' origin_payment_method: ')
..write(originPaymentMethod)
..write(',');
if (originPaymentMethodDetails != null) {
$buf
..writeln()
..write(' origin_payment_method_details: ')
..write(originPaymentMethodDetails)
..write(',');
}
if (returned != null) {
$buf
..writeln()
..write(' returned: ')
..write(returned)
..write(',');
}
$buf
..writeln()
..write(' statement_descriptor: ')
..write(statementDescriptor)
..write(',');
$buf
..writeln()
..write(' status: ')
..write(status)
..write(',');
$buf
..writeln()
..write(' status_transitions: ')
..write(statusTransitions)
..write(',');
if (transaction != null) {
$buf
..writeln()
..write(' transaction: ')
..write(transaction)
..write(',');
}
$buf.write(')');
return $buf.toString();
}