ListProfilePermissionsResponse.fromJson constructor
ListProfilePermissionsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListProfilePermissionsResponse.fromJson(Map<String, dynamic> json) {
return ListProfilePermissionsResponse(
nextToken: json['nextToken'] as String?,
permissions: (json['permissions'] as List?)
?.whereNotNull()
.map((e) => Permission.fromJson(e as Map<String, dynamic>))
.toList(),
policySizeBytes: json['policySizeBytes'] as int?,
revisionId: json['revisionId'] as String?,
);
}