QuestionAnsweringHelpfulnessSpec.fromJson constructor

QuestionAnsweringHelpfulnessSpec.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory QuestionAnsweringHelpfulnessSpec.fromJson(Map<String, dynamic> json) {
  return QuestionAnsweringHelpfulnessSpec(
    useReference: json['useReference'] ?? false,
    version: json['version'] ?? 0,
  );
}