gather method

Future<List<ICloudFile>> gather({
  1. required String containerId,
  2. StreamHandler<List<ICloudFile>>? onUpdate,
})

Gather all the files' meta data from iCloud container.

containerId is the iCloud Container Id.

onUpdate is an optional paramater can be used as a call back every time when the list of files are updated. It won't be triggered when the function initially returns the list of files.

The function returns a future of list of ICloudFile.

Implementation

Future<List<ICloudFile>> gather({
  required String containerId,
  StreamHandler<List<ICloudFile>>? onUpdate,
}) async {
  throw UnimplementedError('gather() has not been implemented.');
}