VoiceConnector.fromJson constructor
VoiceConnector.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VoiceConnector.fromJson(Map<String, dynamic> json) {
return VoiceConnector(
awsRegion: (json['AwsRegion'] as String?)?.toVoiceConnectorAwsRegion(),
createdTimestamp: timeStampFromJson(json['CreatedTimestamp']),
name: json['Name'] as String?,
outboundHostName: json['OutboundHostName'] as String?,
requireEncryption: json['RequireEncryption'] as bool?,
updatedTimestamp: timeStampFromJson(json['UpdatedTimestamp']),
voiceConnectorId: json['VoiceConnectorId'] as String?,
);
}