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('IssuingToken(');
$buf
..writeln()
..write(' card: ')
..write(card)
..write(',');
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
if (deviceFingerprint != null) {
$buf
..writeln()
..write(' device_fingerprint: ')
..write(deviceFingerprint)
..write(',');
}
$buf
..writeln()
..write(' id: ')
..write(id)
..write(',');
if (last4 != null) {
$buf
..writeln()
..write(' last4: ')
..write(last4)
..write(',');
}
$buf
..writeln()
..write(' livemode: ')
..write(livemode)
..write(',');
$buf
..writeln()
..write(' network: ')
..write(network)
..write(',');
if (networkData != null) {
$buf
..writeln()
..write(' network_data: ')
..write(networkData)
..write(',');
}
$buf
..writeln()
..write(' network_updated_at: ')
..write(networkUpdatedAt)
..write(',');
$buf
..writeln()
..write(' object: ')
..write(object)
..write(',');
$buf
..writeln()
..write(' status: ')
..write(status)
..write(',');
if (walletProvider != null) {
$buf
..writeln()
..write(' wallet_provider: ')
..write(walletProvider)
..write(',');
}
$buf.write(')');
return $buf.toString();
}