getTemporaryDirectory function
Standalone top-level wrapper to match path_provider's API signature natively.
Under web/unsupported platforms, it returns a functional in-memory /tmp
directory instead of throwing errors.
Implementation
Future<Directory> getTemporaryDirectory() =>
CkPathProvider.getTemporaryDirectory();