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('TreasuryFinancialAccount(');
if (activeFeatures != null) {
$buf
..writeln()
..write(' active_features: ')
..write(activeFeatures)
..write(',');
}
$buf
..writeln()
..write(' balance: ')
..write(balance)
..write(',');
$buf
..writeln()
..write(' country: ')
..write(country)
..write(',');
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
if (features != null) {
$buf
..writeln()
..write(' features: ')
..write(features)
..write(',');
}
$buf
..writeln()
..write(' financial_addresses: ')
..write(financialAddresses)
..write(',');
$buf
..writeln()
..write(' id: ')
..write(id)
..write(',');
$buf
..writeln()
..write(' livemode: ')
..write(livemode)
..write(',');
if (metadata != null) {
$buf
..writeln()
..write(' metadata: ')
..write(metadata)
..write(',');
}
$buf
..writeln()
..write(' object: ')
..write(object)
..write(',');
if (pendingFeatures != null) {
$buf
..writeln()
..write(' pending_features: ')
..write(pendingFeatures)
..write(',');
}
if (platformRestrictions != null) {
$buf
..writeln()
..write(' platform_restrictions: ')
..write(platformRestrictions)
..write(',');
}
if (restrictedFeatures != null) {
$buf
..writeln()
..write(' restricted_features: ')
..write(restrictedFeatures)
..write(',');
}
$buf
..writeln()
..write(' status: ')
..write(status)
..write(',');
$buf
..writeln()
..write(' status_details: ')
..write(statusDetails)
..write(',');
$buf
..writeln()
..write(' supported_currencies: ')
..write(supportedCurrencies)
..write(',');
$buf.write(')');
return $buf.toString();
}