ForgedTransactionsResponse.fromJson constructor

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

Implementation

factory ForgedTransactionsResponse.fromJson(Map<String, dynamic> json) {
  List<ForgedTransaction>? transactions = (json['transactions'] as List?)
      ?.map((item) => ForgedTransaction.fromJson(item))
      ?.toList();
  return ForgedTransactionsResponse(
      transactions: transactions, pendingItems: json['pendingItems']);
}