RubricBasedInstructionFollowingInstance.fromJson constructor

RubricBasedInstructionFollowingInstance.fromJson(
  1. Object? j
)

Implementation

factory RubricBasedInstructionFollowingInstance.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return RubricBasedInstructionFollowingInstance(
    jsonInstance: switch (json['jsonInstance']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}