safeGetInstance method
Implementation
Future<Instance> safeGetInstance(
FutureOr<InstanceRef> instanceRefFuture,
Disposable? isAlive,
) async {
final instanceRef = await instanceRefFuture;
final value = await getObjHelper<Instance>(instanceRef, isAlive);
return _verifySaneValue(value, isAlive);
}