listStorageObjects method

  1. @override
Future<StorageObjectList> listStorageObjects({
  1. required Session session,
  2. String? collection,
  3. String? cursor,
  4. String? userId,
  5. int? limit,
})
override

Implementation

@override
Future<StorageObjectList> listStorageObjects({
  required model.Session session,
  String? collection,
  String? cursor,
  String? userId,
  int? limit,
}) async {
  _session = session;

  final res = await _api.nakamaListStorageObjects(
    collection: collection,
    cursor: cursor,
    userId: userId,
    limit: limit,
  );

  return StorageObjectList()..mergeFromProto3Json(res.body!.toJson());
}