ListPermissionSetsResponse.fromJson constructor

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

Implementation

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