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