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