AudioLevel constructor

AudioLevel({
  1. String? userId,
  2. String? sessionId,
  3. double? level,
  4. bool? isSpeaking,
})

Implementation

factory AudioLevel({
  $core.String? userId,
  $core.String? sessionId,
  $core.double? level,
  $core.bool? isSpeaking,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  if (level != null) {
    $result.level = level;
  }
  if (isSpeaking != null) {
    $result.isSpeaking = isSpeaking;
  }
  return $result;
}