getEntrypoint method

String? getEntrypoint()

Implementation

String? getEntrypoint() {
  final instr = _instructions.lastWhere(
    (i) => i.name == InstructNameType.ENTRYPOINT,
    orElse: () => Instruction('NONE', [], 0),
  );
  return instr.args.isNotEmpty ? instr.args.first : null;
}