ListIAMPolicyAssignmentsResponse.fromJson constructor

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

Implementation

factory ListIAMPolicyAssignmentsResponse.fromJson(Map<String, dynamic> json) {
  return ListIAMPolicyAssignmentsResponse(
    iAMPolicyAssignments: (json['IAMPolicyAssignments'] as List?)
        ?.whereNotNull()
        .map((e) =>
            IAMPolicyAssignmentSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
    requestId: json['RequestId'] as String?,
  );
}