SuiObjectInfo.fromProto constructor
SuiObjectInfo.fromProto(
- Object o
Implementation
factory SuiObjectInfo.fromProto(pb.Object o) => SuiObjectInfo(
objectId: o.objectId,
version: BigInt.from(o.version.toInt()),
digest: o.digest,
type: o.hasObjectType() ? o.objectType : null,
owner: o.hasOwner() ? SuiOwner.fromProto(o.owner) : null,
);