toString method

  1. @override
String toString()
override

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('DisputeEvidence(');
  if (accessActivityLog != null) {
    $buf
      ..writeln()
      ..write('  access_activity_log: ')
      ..write(accessActivityLog)
      ..write(',');
  }
  if (billingAddress != null) {
    $buf
      ..writeln()
      ..write('  billing_address: ')
      ..write(billingAddress)
      ..write(',');
  }
  if (cancellationPolicy != null) {
    $buf
      ..writeln()
      ..write('  cancellation_policy: ')
      ..write(cancellationPolicy)
      ..write(',');
  }
  if (cancellationPolicyDisclosure != null) {
    $buf
      ..writeln()
      ..write('  cancellation_policy_disclosure: ')
      ..write(cancellationPolicyDisclosure)
      ..write(',');
  }
  if (cancellationRebuttal != null) {
    $buf
      ..writeln()
      ..write('  cancellation_rebuttal: ')
      ..write(cancellationRebuttal)
      ..write(',');
  }
  if (customerCommunication != null) {
    $buf
      ..writeln()
      ..write('  customer_communication: ')
      ..write(customerCommunication)
      ..write(',');
  }
  if (customerEmailAddress != null) {
    $buf
      ..writeln()
      ..write('  customer_email_address: ')
      ..write(customerEmailAddress)
      ..write(',');
  }
  if (customerName != null) {
    $buf
      ..writeln()
      ..write('  customer_name: ')
      ..write(customerName)
      ..write(',');
  }
  if (customerPurchaseIp != null) {
    $buf
      ..writeln()
      ..write('  customer_purchase_ip: ')
      ..write(customerPurchaseIp)
      ..write(',');
  }
  if (customerSignature != null) {
    $buf
      ..writeln()
      ..write('  customer_signature: ')
      ..write(customerSignature)
      ..write(',');
  }
  if (duplicateChargeDocumentation != null) {
    $buf
      ..writeln()
      ..write('  duplicate_charge_documentation: ')
      ..write(duplicateChargeDocumentation)
      ..write(',');
  }
  if (duplicateChargeExplanation != null) {
    $buf
      ..writeln()
      ..write('  duplicate_charge_explanation: ')
      ..write(duplicateChargeExplanation)
      ..write(',');
  }
  if (duplicateChargeId != null) {
    $buf
      ..writeln()
      ..write('  duplicate_charge_id: ')
      ..write(duplicateChargeId)
      ..write(',');
  }
  if (productDescription != null) {
    $buf
      ..writeln()
      ..write('  product_description: ')
      ..write(productDescription)
      ..write(',');
  }
  if (receipt != null) {
    $buf
      ..writeln()
      ..write('  receipt: ')
      ..write(receipt)
      ..write(',');
  }
  if (refundPolicy != null) {
    $buf
      ..writeln()
      ..write('  refund_policy: ')
      ..write(refundPolicy)
      ..write(',');
  }
  if (refundPolicyDisclosure != null) {
    $buf
      ..writeln()
      ..write('  refund_policy_disclosure: ')
      ..write(refundPolicyDisclosure)
      ..write(',');
  }
  if (refundRefusalExplanation != null) {
    $buf
      ..writeln()
      ..write('  refund_refusal_explanation: ')
      ..write(refundRefusalExplanation)
      ..write(',');
  }
  if (serviceDate != null) {
    $buf
      ..writeln()
      ..write('  service_date: ')
      ..write(serviceDate)
      ..write(',');
  }
  if (serviceDocumentation != null) {
    $buf
      ..writeln()
      ..write('  service_documentation: ')
      ..write(serviceDocumentation)
      ..write(',');
  }
  if (shippingAddress != null) {
    $buf
      ..writeln()
      ..write('  shipping_address: ')
      ..write(shippingAddress)
      ..write(',');
  }
  if (shippingCarrier != null) {
    $buf
      ..writeln()
      ..write('  shipping_carrier: ')
      ..write(shippingCarrier)
      ..write(',');
  }
  if (shippingDate != null) {
    $buf
      ..writeln()
      ..write('  shipping_date: ')
      ..write(shippingDate)
      ..write(',');
  }
  if (shippingDocumentation != null) {
    $buf
      ..writeln()
      ..write('  shipping_documentation: ')
      ..write(shippingDocumentation)
      ..write(',');
  }
  if (shippingTrackingNumber != null) {
    $buf
      ..writeln()
      ..write('  shipping_tracking_number: ')
      ..write(shippingTrackingNumber)
      ..write(',');
  }
  if (uncategorizedFile != null) {
    $buf
      ..writeln()
      ..write('  uncategorized_file: ')
      ..write(uncategorizedFile)
      ..write(',');
  }
  if (uncategorizedText != null) {
    $buf
      ..writeln()
      ..write('  uncategorized_text: ')
      ..write(uncategorizedText)
      ..write(',');
  }
  $buf.write(')');
  return $buf.toString();
}