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() {
return 'RazorpayLineItems(id: $id, name: $name, amount: $amount, currency: $currency, unit_amount: $unit_amount, type: $type, tax_inclusive: $tax_inclusive, created_at: $created_at, updated_at: $updated_at, active: $active, quantity: $quantity, description: $description, unit: $unit, hsn_code: $hsn_code, sac_code: $sac_code, tax_rate: $tax_rate, tax_id: $tax_id, tax_group_id: $tax_group_id, item_id: $item_id, ref_id: $ref_id, ref_type: $ref_type, gross_amount: $gross_amount, tax_amount: $tax_amount, taxable_amount: $taxable_amount, net_amount: $net_amount, taxes: $taxes)';
}