toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['cause'] = cause;
data['causeCode'] = causeCode;
if (dialogParams != null) {
data['dialogParams'] = dialogParams!.toJson();
}
data['sessid'] = sessid;
return data;
}