DescribePullRequestEventsOutput.fromJson constructor
Implementation
factory DescribePullRequestEventsOutput.fromJson(Map<String, dynamic> json) {
return DescribePullRequestEventsOutput(
pullRequestEvents: (json['pullRequestEvents'] as List)
.whereNotNull()
.map((e) => PullRequestEvent.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}