CreatePortfolioOutput.fromJson constructor
Implementation
factory CreatePortfolioOutput.fromJson(Map<String, dynamic> json) {
return CreatePortfolioOutput(
portfolioDetail: json['PortfolioDetail'] != null
? PortfolioDetail.fromJson(
json['PortfolioDetail'] as Map<String, dynamic>)
: null,
tags: (json['Tags'] as List?)
?.whereNotNull()
.map((e) => Tag.fromJson(e as Map<String, dynamic>))
.toList(),
);
}