toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "totalPages": totalPages,
      "transactions": List<dynamic>.from(transactions.map((x) => x.toJson())),
    };