GoogleCloudDialogflowCxV3AnswerFeedback.fromJson constructor

GoogleCloudDialogflowCxV3AnswerFeedback.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3AnswerFeedback.fromJson(core.Map json_)
    : this(
        customRating: json_.containsKey('customRating')
            ? json_['customRating'] as core.String
            : null,
        rating: json_.containsKey('rating')
            ? json_['rating'] as core.String
            : null,
        ratingReason: json_.containsKey('ratingReason')
            ? GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason.fromJson(
                json_['ratingReason'] as core.Map<core.String, core.dynamic>)
            : null,
      );