toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "transactions": transactions.map((e) => e.toJson()),
      "total_count": total_count ?? transactions.length,
      "next_offset": next_offset
    }..removeWhere(
        (dynamic key, dynamic value) => key == null || value == null);