GetVoiceConnectorResponse.fromJson constructor

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

Implementation

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