ListPortfoliosOutput.fromJson constructor
Implementation
factory ListPortfoliosOutput.fromJson(Map<String, dynamic> json) {
return ListPortfoliosOutput(
nextPageToken: json['NextPageToken'] as String?,
portfolioDetails: (json['PortfolioDetails'] as List?)
?.whereNotNull()
.map((e) => PortfolioDetail.fromJson(e as Map<String, dynamic>))
.toList(),
);
}