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('IdentityVerificationReport(');
if (clientReferenceId != null) {
$buf
..writeln()
..write(' client_reference_id: ')
..write(clientReferenceId)
..write(',');
}
$buf
..writeln()
..write(' created: ')
..write(created)
..write(',');
if (document != null) {
$buf
..writeln()
..write(' document: ')
..write(document)
..write(',');
}
$buf
..writeln()
..write(' id: ')
..write(id)
..write(',');
if (idNumber != null) {
$buf
..writeln()
..write(' id_number: ')
..write(idNumber)
..write(',');
}
$buf
..writeln()
..write(' livemode: ')
..write(livemode)
..write(',');
$buf
..writeln()
..write(' object: ')
..write(object)
..write(',');
if (options != null) {
$buf
..writeln()
..write(' options: ')
..write(options)
..write(',');
}
if (selfie != null) {
$buf
..writeln()
..write(' selfie: ')
..write(selfie)
..write(',');
}
$buf
..writeln()
..write(' type: ')
..write(type)
..write(',');
if (verificationSession != null) {
$buf
..writeln()
..write(' verification_session: ')
..write(verificationSession)
..write(',');
}
$buf.write(')');
return $buf.toString();
}