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