toBytes method

Future<Bytes> toBytes()

Implementation

Future<Bytes> toBytes() async {
  final atomBytes =
      await api.programToAtomBytes(serProgramBytes: await _programBytes);
  return Bytes(atomBytes);
}