GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse.fromMap constructor

GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse(
    allowMultiLabel: pulumi.Input.fromValue(map['allowMultiLabel'] as bool),
    annotationSpecSet: pulumi.Input.fromValue(map['annotationSpecSet'] as String),
    sentimentConfig: pulumi.Input.fromValue(GoogleCloudDatalabelingV1beta1SentimentConfigResponse.fromMap((map['sentimentConfig']! as Map).cast<String, dynamic>())),
  );
}