deserializedHexWithNative static method

Future<Program> deserializedHexWithNative(
  1. String hex
)

parse hex to program

Implementation

static Future<Program> deserializedHexWithNative(String hex) async {
  final bytes = await api.hexToBytes(hex: hex);
  final program = Program._(
    sourceType: _ProgramSourceType.bytes,
    sourceValue: bytes,
  );
  return program;
}