Data.fromJson constructor
Implementation
factory Data.fromJson(Map<String, dynamic> json) => Data(
totalPages: json["totalPages"],
transactions: List<Transaction>.from(
json["transactions"].map((x) => Transaction.fromJson(x))),
);