getObjectsOwnedByObject method

Future<List<SuiObject>> getObjectsOwnedByObject(
  1. String objectId
)

Implementation

Future<List<SuiObject>> getObjectsOwnedByObject(String objectId) async {
  final data = await client.request(
    'sui_getObjectsOwnedByObject',
    [objectId]
  );
  return (data as List).map((e) => SuiObject.fromJson(e)).toList();
}