DescribeWorkspaceImagePermissionsResult.fromJson constructor
DescribeWorkspaceImagePermissionsResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeWorkspaceImagePermissionsResult.fromJson(
Map<String, dynamic> json) {
return DescribeWorkspaceImagePermissionsResult(
imageId: json['ImageId'] as String?,
imagePermissions: (json['ImagePermissions'] as List?)
?.whereNotNull()
.map((e) => ImagePermission.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}