Returns a representation of this object as a JSON object.
Map<String, dynamic> toJSON() { return <String, dynamic>{ 'inputType': inputType.toString(), 'actionLabel': actionLabel, }; }