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('IssuingAuthorizationRequest(');
$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(',');
if (authorizationCode != null) {
$buf
..writeln()
..write(' authorization_code: ')
..write(authorizationCode)
..write(',');
}
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
$buf
..writeln()
..write(' currency: ')
..write(currency)
..write(',');
$buf
..writeln()
..write(' merchant_amount: ')
..write(merchantAmount)
..write(',');
$buf
..writeln()
..write(' merchant_currency: ')
..write(merchantCurrency)
..write(',');
if (networkRiskScore != null) {
$buf
..writeln()
..write(' network_risk_score: ')
..write(networkRiskScore)
..write(',');
}
$buf
..writeln()
..write(' reason: ')
..write(reason)
..write(',');
if (reasonMessage != null) {
$buf
..writeln()
..write(' reason_message: ')
..write(reasonMessage)
..write(',');
}
if (requestedAt != null) {
$buf
..writeln()
..write(' requested_at: ')
..write(requestedAt)
..write(',');
}
$buf.write(')');
return $buf.toString();
}