RTCIceServer constructor

RTCIceServer({
  1. dynamic urls,
  2. String? username,
  3. String? credential,
  4. RTCIceCredentialType? credentialType,
})

Implementation

factory RTCIceServer(
        {dynamic urls,
        String? username,
        String? credential,
        RTCIceCredentialType? credentialType}) =>
    RTCIceServer._(
        urls: urls ?? undefined,
        username: username ?? undefined,
        credential: credential ?? undefined,
        credentialType:
            credentialType?.value ?? RTCIceCredentialType.password.value);