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 'RazorpaySubscription(id: $id, entity: $entity, plan_id: $plan_id, status: $status, total_count: $total_count, quantity: $quantity, paid_count: $paid_count, has_scheduled_changes: $has_scheduled_changes, remaining_count: $remaining_count, customer_notify: $customer_notify, offer_id: $offer_id, expire_by: $expire_by, addons: $addons, notes: $notes, current_start: $current_start, current_end: $current_end, ended_at: $ended_at, change_scheduled_at: $change_scheduled_at, customer_id: $customer_id, payment_method: $payment_method)';
}