toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "full_name": fullName,
      "email": email,
      "amount": amount,
      "fee": fee,
      "charged_amount": chargedAmount,
      "invoice_id": invoiceId,
      "payment_method": paymentMethod,
      "sender_number": senderNumber,
      "transaction_id": transactionId,
      "date": date?.toIso8601String(),
      "status": status,
    };