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;
}