CreateVoiceConnectorResponse.fromJson constructor

CreateVoiceConnectorResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateVoiceConnectorResponse.fromJson(Map<String, dynamic> json) {
  return CreateVoiceConnectorResponse(
    voiceConnector: json['VoiceConnector'] != null
        ? VoiceConnector.fromJson(
            json['VoiceConnector'] as Map<String, dynamic>)
        : null,
  );
}