QuestionAnsweringHelpfulnessInput.fromJson constructor
Implementation
factory QuestionAnsweringHelpfulnessInput.fromJson(
Map<String, dynamic> json,
) {
return QuestionAnsweringHelpfulnessInput(
metricSpec: decode(
json['metricSpec'],
QuestionAnsweringHelpfulnessSpec.fromJson,
),
instance: decode(
json['instance'],
QuestionAnsweringHelpfulnessInstance.fromJson,
),
);
}