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