AudioChunk constructor

AudioChunk({
  1. List<int>? data,
  2. int? length,
})

Implementation

factory AudioChunk({
  $core.List<$core.int>? data,
  $core.int? length,
}) {
  final $result = create();
  if (data != null) {
    $result.data = data;
  }
  if (length != null) {
    $result.length = length;
  }
  return $result;
}