UpdateAnalysisPermissionsResponse.fromJson constructor
UpdateAnalysisPermissionsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory UpdateAnalysisPermissionsResponse.fromJson(
Map<String, dynamic> json) {
return UpdateAnalysisPermissionsResponse(
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?,
);
}