clearTemporaryFiles method Null safety

Future<bool?> clearTemporaryFiles()

Asks the underlying platform to remove any temporary files created by this plugin.

This typically relates to cached files that are stored in the cache directory of each platform and it isn't required to invoke this as the system should take care of it whenever needed. However, this will force the cleanup if you want to manage those on your own.

This method is only available on mobile platforms (Android & iOS).

Returns true if the files were removed with success, false otherwise.

Implementation

Future<bool?> clearTemporaryFiles() async => throw UnimplementedError(
    'clearTemporaryFiles() has not been implemented.');