factory ByteArray.merge(Iterable<ByteArray> arrays) { final list = Uint8List.fromList(arrays.expand((e) => e).toList()); return ByteArray(list); }