DTransactionResponse.fromJson constructor

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

Implementation

factory DTransactionResponse.fromJson(Map<String, dynamic> json) =>
    DTransactionResponse(
      accountNo: json["account_no"],
      transactions: List<DTransaction>.from(
          json["transactions"].map((x) => DTransaction.fromJson(x))),
      pagination: Pagination.fromJson(json["pagination"]),
    );