MessagePaymentSuccessful.fromJson constructor

MessagePaymentSuccessful.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory MessagePaymentSuccessful.fromJson(Map<String, dynamic> json) =>
    MessagePaymentSuccessful(
      invoiceChatId: json['invoice_chat_id'],
      invoiceMessageId: json['invoice_message_id'],
      currency: json['currency'],
      totalAmount: json['total_amount'],
      isRecurring: json['is_recurring'],
      isFirstRecurring: json['is_first_recurring'],
      invoiceName: json['invoice_name'],
    );