toString method

  1. @override
String toString()
inherited

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() {
  return 'RazorpayInvoice(id: $id, entity: $entity, type: $type, line_items: $line_items, invoice_number: $invoice_number, created_at: $created_at, description: $description, draft: $draft, date: $date, customer_id: $customer_id, currency: $currency, customer_details: $customer_details, order_id: $order_id, expire_by: $expire_by, sms_notify: $sms_notify, email_notify: $email_notify, partial_payment: $partial_payment, notes: $notes, receipt: $receipt, amount: $amount, payment_id: $payment_id, issued_at: $issued_at, paid_at: $paid_at, cancelled_at: $cancelled_at, expired_at: $expired_at, sms_status: $sms_status, email_status: $email_status, gross_amount: $gross_amount, tax_amount: $tax_amount, taxable_amount: $taxable_amount, status: $status, amount_paid: $amount_paid, amount_due: $amount_due, short_url: $short_url, currency_symbol: $currency_symbol, billing_start: $billing_start, billing_end: $billing_end, group_taxes_discounts: $group_taxes_discounts, terms: $terms, comment: $comment, view_less: $view_less, idempotency_key: $idempotency_key, ref_num: $ref_num, token: $token)';
}