ListVoiceConnectorTerminationCredentialsResponse.fromJson constructor

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

Implementation

factory ListVoiceConnectorTerminationCredentialsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListVoiceConnectorTerminationCredentialsResponse(
    usernames: (json['Usernames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}