PropertiesResponse constructor

PropertiesResponse({
  1. int? channelCount,
  2. Duration? latency,
  3. int? sampleRate,
  4. int? sampleSize,
  5. bool? isBigEndian,
  6. bool? isFloat,
  7. bool? isInterleaved,
})

Implementation

factory PropertiesResponse({
  $core.int? channelCount,
  $42.Duration? latency,
  $core.int? sampleRate,
  $core.int? sampleSize,
  $core.bool? isBigEndian,
  $core.bool? isFloat,
  $core.bool? isInterleaved,
}) {
  final $result = create();
  if (channelCount != null) {
    $result.channelCount = channelCount;
  }
  if (latency != null) {
    $result.latency = latency;
  }
  if (sampleRate != null) {
    $result.sampleRate = sampleRate;
  }
  if (sampleSize != null) {
    $result.sampleSize = sampleSize;
  }
  if (isBigEndian != null) {
    $result.isBigEndian = isBigEndian;
  }
  if (isFloat != null) {
    $result.isFloat = isFloat;
  }
  if (isInterleaved != null) {
    $result.isInterleaved = isInterleaved;
  }
  return $result;
}