NERtcServerAddresses.fromMap constructor

NERtcServerAddresses.fromMap(
  1. Map map
)

Implementation

NERtcServerAddresses.fromMap(Map map) {
  channelServer = map['channelServer'] as String?;
  statisticsServer = map['statisticsServer'] as String?;
  roomServer = map['roomServer'] as String?;
  compatServer = map['compatServer'] as String?;
  nosLbsServer = map['nosLbsServer'] as String?;
  nosUploadSever = map['nosUploadSever'] as String?;
  nosTokenServer = map['nosTokenServer'] as String?;
  useIPv6 = (map['useIPv6'] ?? false) as bool;
  sdkConfigServer = map['sdkConfigServer'] as String?;
  cloudProxyServer = map['cloudProxyServer'] as String?;
  webSocketProxyServer = map['webSocketProxyServer'] as String?;
  quicProxyServer = map['quicProxyServer'] as String?;
  mediaProxyServer = map['mediaProxyServer'] as String?;
  statisticsDispatchServer = map['statisticsDispatchServer'] as String?;
  statisticsBackupServer = map['statisticsBackupServer'] as String?;
}