OwnedObjectRef.fromJson constructor

OwnedObjectRef.fromJson(
  1. dynamic data
)

Implementation

factory OwnedObjectRef.fromJson(dynamic data) {
  return OwnedObjectRef(
    ObjectOwner.fromJson(data['owner']),
    SuiObjectRef.fromJson(data['reference'])
  );
}