ListOrganizationPortfolioAccessOutput.fromJson constructor

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

Implementation

factory ListOrganizationPortfolioAccessOutput.fromJson(
    Map<String, dynamic> json) {
  return ListOrganizationPortfolioAccessOutput(
    nextPageToken: json['NextPageToken'] as String?,
    organizationNodes: (json['OrganizationNodes'] as List?)
        ?.whereNotNull()
        .map((e) => OrganizationNode.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}