bytes property

Future<List<int>> bytes

Implementation

Future<List<int>> get bytes async {
  List<int> ret = [];
  ret.addAll(_currentList);
  List<List<int>> lists = await _stream.toList();
  for (var l in lists) {
    ret.addAll(l);
  }
  return ret;
}