toFile method

Future<List<CloudFiles>> toFile(
  1. List<String> path,
  2. dynamic containerId
)

Converts a list of ICloudFile objects to CloudFiles objects

Implementation

Future<List<CloudFiles>> toFile(List<String> path, containerId) async {
  List<CloudFiles> icloudFiles = [];
  for (var e in this) {
    icloudFiles.add(await _iCloudFileTofile(e, containerId, path));
  }
  return icloudFiles;
}