ListManagedPoliciesInPermissionSetResponse.fromJson constructor

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

Implementation

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