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