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,
      );