toJson method

List<String> toJson()

Implementation

List<String> toJson() => ['onContent', 'onSuggestions', 'onDone', 'onError'];