getObjHelper<T extends Obj> method
Future<T?>
getObjHelper<T extends Obj>(
- ObjRef instance,
- Disposable? isAlive, {
- int? offset,
- int? count,
Implementation
Future<T?> getObjHelper<T extends Obj>(
ObjRef instance,
Disposable? isAlive, {
int? offset,
int? count,
}) {
return addRequest<T>(isAlive, () async {
final T value = await service.getObject(
_isolateRef!.id!,
instance.id!,
offset: offset,
count: count,
) as T;
return value;
});
}