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('AccountCreateOptionsSettings(');
if (bacsDebitPayments != null) {
$buf
..writeln()
..write(' bacs_debit_payments: ')
..write(bacsDebitPayments)
..write(',');
}
if (branding != null) {
$buf
..writeln()
..write(' branding: ')
..write(branding)
..write(',');
}
if (cardIssuing != null) {
$buf
..writeln()
..write(' card_issuing: ')
..write(cardIssuing)
..write(',');
}
if (cardPayments != null) {
$buf
..writeln()
..write(' card_payments: ')
..write(cardPayments)
..write(',');
}
if (payments != null) {
$buf
..writeln()
..write(' payments: ')
..write(payments)
..write(',');
}
if (payouts != null) {
$buf
..writeln()
..write(' payouts: ')
..write(payouts)
..write(',');
}
if (treasury != null) {
$buf
..writeln()
..write(' treasury: ')
..write(treasury)
..write(',');
}
$buf.write(')');
return $buf.toString();
}