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