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('SourceTypeSepaCreditTransfer(');
if (bankName != null) {
$buf
..writeln()
..write(' bank_name: ')
..write(bankName)
..write(',');
}
if (bic != null) {
$buf
..writeln()
..write(' bic: ')
..write(bic)
..write(',');
}
if (iban != null) {
$buf
..writeln()
..write(' iban: ')
..write(iban)
..write(',');
}
if (refundAccountHolderAddressCity != null) {
$buf
..writeln()
..write(' refund_account_holder_address_city: ')
..write(refundAccountHolderAddressCity)
..write(',');
}
if (refundAccountHolderAddressCountry != null) {
$buf
..writeln()
..write(' refund_account_holder_address_country: ')
..write(refundAccountHolderAddressCountry)
..write(',');
}
if (refundAccountHolderAddressLine1 != null) {
$buf
..writeln()
..write(' refund_account_holder_address_line1: ')
..write(refundAccountHolderAddressLine1)
..write(',');
}
if (refundAccountHolderAddressLine2 != null) {
$buf
..writeln()
..write(' refund_account_holder_address_line2: ')
..write(refundAccountHolderAddressLine2)
..write(',');
}
if (refundAccountHolderAddressPostalCode != null) {
$buf
..writeln()
..write(' refund_account_holder_address_postal_code: ')
..write(refundAccountHolderAddressPostalCode)
..write(',');
}
if (refundAccountHolderAddressState != null) {
$buf
..writeln()
..write(' refund_account_holder_address_state: ')
..write(refundAccountHolderAddressState)
..write(',');
}
if (refundAccountHolderName != null) {
$buf
..writeln()
..write(' refund_account_holder_name: ')
..write(refundAccountHolderName)
..write(',');
}
if (refundIban != null) {
$buf
..writeln()
..write(' refund_iban: ')
..write(refundIban)
..write(',');
}
$buf.write(')');
return $buf.toString();
}