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('SourceTypeCardPresent(');
if (applicationCryptogram != null) {
$buf
..writeln()
..write(' application_cryptogram: ')
..write(applicationCryptogram)
..write(',');
}
if (applicationPreferredName != null) {
$buf
..writeln()
..write(' application_preferred_name: ')
..write(applicationPreferredName)
..write(',');
}
if (authorizationCode != null) {
$buf
..writeln()
..write(' authorization_code: ')
..write(authorizationCode)
..write(',');
}
if (authorizationResponseCode != null) {
$buf
..writeln()
..write(' authorization_response_code: ')
..write(authorizationResponseCode)
..write(',');
}
if (brand != null) {
$buf
..writeln()
..write(' brand: ')
..write(brand)
..write(',');
}
if (country != null) {
$buf
..writeln()
..write(' country: ')
..write(country)
..write(',');
}
if (cvmType != null) {
$buf
..writeln()
..write(' cvm_type: ')
..write(cvmType)
..write(',');
}
if (dataType != null) {
$buf
..writeln()
..write(' data_type: ')
..write(dataType)
..write(',');
}
if (dedicatedFileName != null) {
$buf
..writeln()
..write(' dedicated_file_name: ')
..write(dedicatedFileName)
..write(',');
}
if (description != null) {
$buf
..writeln()
..write(' description: ')
..write(description)
..write(',');
}
if (emvAuthData != null) {
$buf
..writeln()
..write(' emv_auth_data: ')
..write(emvAuthData)
..write(',');
}
if (evidenceCustomerSignature != null) {
$buf
..writeln()
..write(' evidence_customer_signature: ')
..write(evidenceCustomerSignature)
..write(',');
}
if (evidenceTransactionCertificate != null) {
$buf
..writeln()
..write(' evidence_transaction_certificate: ')
..write(evidenceTransactionCertificate)
..write(',');
}
if (expMonth != null) {
$buf
..writeln()
..write(' exp_month: ')
..write(expMonth)
..write(',');
}
if (expYear != null) {
$buf
..writeln()
..write(' exp_year: ')
..write(expYear)
..write(',');
}
if (fingerprint != null) {
$buf
..writeln()
..write(' fingerprint: ')
..write(fingerprint)
..write(',');
}
if (funding != null) {
$buf
..writeln()
..write(' funding: ')
..write(funding)
..write(',');
}
if (iin != null) {
$buf
..writeln()
..write(' iin: ')
..write(iin)
..write(',');
}
if (issuer != null) {
$buf
..writeln()
..write(' issuer: ')
..write(issuer)
..write(',');
}
if (last4 != null) {
$buf
..writeln()
..write(' last4: ')
..write(last4)
..write(',');
}
if (posDeviceId != null) {
$buf
..writeln()
..write(' pos_device_id: ')
..write(posDeviceId)
..write(',');
}
if (posEntryMode != null) {
$buf
..writeln()
..write(' pos_entry_mode: ')
..write(posEntryMode)
..write(',');
}
if (readMethod != null) {
$buf
..writeln()
..write(' read_method: ')
..write(readMethod)
..write(',');
}
if (reader != null) {
$buf
..writeln()
..write(' reader: ')
..write(reader)
..write(',');
}
if (terminalVerificationResults != null) {
$buf
..writeln()
..write(' terminal_verification_results: ')
..write(terminalVerificationResults)
..write(',');
}
if (transactionStatusInformation != null) {
$buf
..writeln()
..write(' transaction_status_information: ')
..write(transactionStatusInformation)
..write(',');
}
$buf.write(')');
return $buf.toString();
}