TransactionUpdate.fromJson constructor

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

Implementation

factory TransactionUpdate.fromJson(Map<String, dynamic> json) {
  return TransactionUpdate(
    code: json['code'],
    message: json['message'],
    messageKh: json['message_kh'],
    data: TransactionData.fromJson(json['data']),
  );
}