toJson method

Map<String, dynamic> toJson()

Implementation

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