deserializedHexWithNative static method
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;
}