ApiResponse.fromJson constructor
Implementation
factory ApiResponse.fromJson(Map<String, dynamic> json) {
return ApiResponse(
total: json['total'],
pageSize: json['page_size'],
page: json['page'],
cursor: json['cursor'],
result: List<Transaction>.from(json['result'].map((x) => Transaction.fromJson(x))),
);
}