getObjectDeletedResponse function
Implementation
SuiObjectRef? getObjectDeletedResponse(SuiObjectResponse resp) {
if (resp.error != null &&
resp.error!.objectId != null &&
resp.error!.version != null &&
resp.error!.digest != null) {
return SuiObjectRef(
resp.error!.digest!,
resp.error!.objectId!,
resp.error!.version!,
);
}
return null;
}