# concat static method

ByteStream concat(

1. List<ByteStream> streams

)

Static utility methods Concatenates multiple ByteStreams into one.

`streams` the streams to concatenate

## Implementation

    /// Concatenates multiple ByteStreams into one.
    ///
    /// [streams] the streams to concatenate
    static ByteStream concat(List<ByteStream> streams) {
      Stream<List<int>> concatenated = Stream.fromIterable(streams)
          .asyncExpand((stream) => stream._stream);
      return ByteStream._(concatenated);
    }