toJson method
Implementation
Map<String, dynamic> toJson() {
final quickConnectType = this.quickConnectType;
final phoneConfig = this.phoneConfig;
final queueConfig = this.queueConfig;
final userConfig = this.userConfig;
return {
'QuickConnectType': quickConnectType.toValue(),
if (phoneConfig != null) 'PhoneConfig': phoneConfig,
if (queueConfig != null) 'QueueConfig': queueConfig,
if (userConfig != null) 'UserConfig': userConfig,
};
}