toJson method
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> json = new Map();
if (source != null) json.putIfAbsent('source', () => source!.toJson());
if (commodityInfo != null)
json.putIfAbsent('commodityInfo', () => commodityInfo!.toJson());
if (sessionTitle != null)
json.putIfAbsent('sessionTitle', () => sessionTitle);
if (groupId != null) json.putIfAbsent('groupId', () => groupId);
if (staffId != null) json.putIfAbsent('staffId', () => staffId);
if (robotId != null) json.putIfAbsent('robotId', () => robotId);
if (robotFirst != null) json.putIfAbsent('robotFirst', () => robotFirst);
if (faqTemplateId != null)
json.putIfAbsent('faqTemplateId', () => faqTemplateId);
if (vipLevel != null) json.putIfAbsent('vipLevel', () => vipLevel);
if (showQuitQueue != null)
json.putIfAbsent('showQuitQueue', () => showQuitQueue);
if (showCloseSessionEntry != null)
json.putIfAbsent('showCloseSessionEntry', () => showCloseSessionEntry);
return json;
}