toBytes method

Future<List<int>> toBytes()

Implementation

Future<List<int>> toBytes() {
  return BodyBytesStream(_encode()).toBytes();
}