ListPullRequestsOutput.fromJson constructor

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

Implementation

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