GoogleCloudDatalabelingV1beta1FeedbackMessage.fromJson constructor

GoogleCloudDatalabelingV1beta1FeedbackMessage.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1FeedbackMessage.fromJson(core.Map json_)
    : this(
        body: json_.containsKey('body') ? json_['body'] as core.String : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        image:
            json_.containsKey('image') ? json_['image'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        operatorFeedbackMetadata: json_
                .containsKey('operatorFeedbackMetadata')
            ? GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata.fromJson(
                json_['operatorFeedbackMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        requesterFeedbackMetadata:
            json_.containsKey('requesterFeedbackMetadata')
                ? GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
                    .fromJson(json_['requesterFeedbackMetadata']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );