appendInfo method

void appendInfo({
  1. String? role,
  2. String? coturnIp,
  3. String? turnUsername,
  4. String? turnCredential,
})

Implementation

void appendInfo({
  String? role,
  String? coturnIp,
  String? turnUsername,
  String? turnCredential,
}) {
  if (role != null) _role = role;
  if (coturnIp != null) _coturnIp = coturnIp;
  if (turnUsername != null) _turnUsername = turnUsername;
  if (turnCredential != null) _turnCredential = turnCredential;
}