ListPortfolioAccessOutput.fromJson constructor

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

Implementation

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