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 {
  final res = await _client.listStorageObjects(
    ListStorageObjectsRequest(
      collection: collection,
      cursor: cursor,
      limit: Int32Value(value: limit),
      userId: userId,
    ),
    options: _getSessionCallOptions(session),
  );

  return res;
}