decode static method

RtcServerAddresses decode(
  1. Object result
)

Implementation

static RtcServerAddresses decode(Object result) {
  result as List<Object?>;
  return RtcServerAddresses(
    valid: result[0] as bool?,
    channelServer: result[1] as String?,
    statisticsServer: result[2] as String?,
    roomServer: result[3] as String?,
    compatServer: result[4] as String?,
    nosLbsServer: result[5] as String?,
    nosUploadSever: result[6] as String?,
    nosTokenServer: result[7] as String?,
    sdkConfigServer: result[8] as String?,
    cloudProxyServer: result[9] as String?,
    webSocketProxyServer: result[10] as String?,
    quicProxyServer: result[11] as String?,
    mediaProxyServer: result[12] as String?,
    statisticsDispatchServer: result[13] as String?,
    statisticsBackupServer: result[14] as String?,
    useIPv6: result[15] as bool?,
  );
}