DescribeDataSetPermissionsResponse.fromJson constructor
DescribeDataSetPermissionsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeDataSetPermissionsResponse.fromJson(
Map<String, dynamic> json) {
return DescribeDataSetPermissionsResponse(
dataSetArn: json['DataSetArn'] as String?,
dataSetId: json['DataSetId'] as String?,
permissions: (json['Permissions'] as List?)
?.whereNotNull()
.map((e) => ResourcePermission.fromJson(e as Map<String, dynamic>))
.toList(),
requestId: json['RequestId'] as String?,
);
}