toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (hookId != null) {
_json[r'hook_id'] = hookId;
}
_json[r'channel_id'] = channelId;
_json[r'display_name'] = displayName;
_json[r'description'] = description;
return _json;
}