@override Object toJson() => { if (prediction case final prediction?) 'prediction': prediction, if (instruction case final instruction?) 'instruction': instruction, };