objectInfo method

Future<SuiObjectInfo> objectInfo(
  1. String objectId, {
  2. List<String>? readMask,
})

getObject as a transport-neutral SuiObjectInfo.

Implementation

Future<SuiObjectInfo> objectInfo(String objectId,
        {List<String>? readMask}) async =>
    SuiObjectInfo.fromProto(
        await core.getObject(objectId, readMask: readMask));