UpdatePortfolioOutput.fromJson constructor
Implementation
factory UpdatePortfolioOutput.fromJson(Map<String, dynamic> json) {
return UpdatePortfolioOutput(
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(),
);
}