clearCache method

  1. @override
Future<bool> clearCache()
override

Deletes the copies this plugin created. Returns whether it succeeded.

Implementation

@override
Future<bool> clearCache() async {
  try {
    return await methodChannel.invokeMethod<bool>('clearCache') ?? false;
  } catch (_) {
    return false;
  }
}