clearCache method

Future<void> clearCache()

Implementation

Future<void> clearCache() async {
  final res = await promiseToFutureAsMap(
    jsInvokeMethod("clearCache", null, null),
  );

  if (res == null) throw Exception("no data recived from js");

  if (res["error"] != null) throw Exception(res["error"]);
}