getContainerPath method

  1. @override
Future<String?> getContainerPath({
  1. required String containerId,
})
override

Get the local path to the iCloud container root, if available.

Returns null when iCloud is unavailable for the given container.

Implementation

@override
Future<String?> getContainerPath({required String containerId}) async {
  final result = await methodChannel.invokeMethod<String>(
    'getContainerPath',
    {'containerId': containerId},
  );
  return result;
}