GetIceServerConfigResponse.fromJson constructor

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

Implementation

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