@override Object toJson() { return {if (textInput != null) 'textInput': textInput, 'output': output}; }