QuickConnectConfig.fromJson constructor
QuickConnectConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory QuickConnectConfig.fromJson(Map<String, dynamic> json) {
return QuickConnectConfig(
quickConnectType:
(json['QuickConnectType'] as String).toQuickConnectType(),
phoneConfig: json['PhoneConfig'] != null
? PhoneNumberQuickConnectConfig.fromJson(
json['PhoneConfig'] as Map<String, dynamic>)
: null,
queueConfig: json['QueueConfig'] != null
? QueueQuickConnectConfig.fromJson(
json['QueueConfig'] as Map<String, dynamic>)
: null,
userConfig: json['UserConfig'] != null
? UserQuickConnectConfig.fromJson(
json['UserConfig'] as Map<String, dynamic>)
: null,
);
}