DescribePortfolioShareStatusOutput.fromJson constructor

DescribePortfolioShareStatusOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribePortfolioShareStatusOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribePortfolioShareStatusOutput(
    organizationNodeValue: json['OrganizationNodeValue'] as String?,
    portfolioId: json['PortfolioId'] as String?,
    portfolioShareToken: json['PortfolioShareToken'] as String?,
    shareDetails: json['ShareDetails'] != null
        ? ShareDetails.fromJson(json['ShareDetails'] as Map<String, dynamic>)
        : null,
    status: (json['Status'] as String?)?.toShareStatus(),
  );
}