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 'PaymentRequest(id: $id, user_id: $user_id, status_id: $status_id, client_id: $client_id, payment_method_id: $payment_method_id, account: $account, amount: $amount, total_paid: $total_paid, balance: $balance, mobile: $mobile, email: $email, reference: $reference, TransID: $TransID, MerchantRequestID: $MerchantRequestID, FirstName: $FirstName, MiddleName: $MiddleName, LastName: $LastName, TransTime: $TransTime, CheckoutRequestID: $CheckoutRequestID, description: $description, processor_response: $processor_response, created_at: $created_at, updated_at: $updated_at, deleted_at: $deleted_at, redirectUrl: $redirectUrl, TransRef: $TransRef, TransToken: $TransToken)';
}