DescribeAnalysisPermissionsResponse.fromJson constructor

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

Implementation

factory DescribeAnalysisPermissionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeAnalysisPermissionsResponse(
    analysisArn: json['AnalysisArn'] as String?,
    analysisId: json['AnalysisId'] as String?,
    permissions: (json['Permissions'] as List?)
        ?.whereNotNull()
        .map((e) => ResourcePermission.fromJson(e as Map<String, dynamic>))
        .toList(),
    requestId: json['RequestId'] as String?,
  );
}