ListContributorInsightsOutput.fromJson constructor

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

Implementation

factory ListContributorInsightsOutput.fromJson(Map<String, dynamic> json) {
  return ListContributorInsightsOutput(
    contributorInsightsSummaries: (json['ContributorInsightsSummaries']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            ContributorInsightsSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}