PaymentTransactionsModel.fromJson constructor

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

Implementation

PaymentTransactionsModel.fromJson(Map<String, dynamic> json) {
  if (json['data'] != null) {
    transactions = <Transactions>[];
    json['data'].forEach((v) {
      transactions!.add(Transactions.fromJson(v));
    });
  }
  message = json['message'];
}