getObjectType method Null safety

ObjectType getObjectType(
  1. int handle
)

Get the type of a handle.

Implementation

ObjectType getObjectType(int handle) {
  check(synthizer.syz_handleGetObjectType(intPointer, handle));
  return intPointer.value.toObjectType();
}