logoutAll method

  1. @override
Future<void> logoutAll()

Sends a logout command to the node and clears all local data, including all persistent data from the store.

Implementation

@override
Future<void> logoutAll() async {
  final futures = <Future>[];
  futures.add(super.logoutAll());
  futures.add(clear());
  await Future.wait(futures).catchError((e, s) {
    Logs().e('Logout all failed', e, s);
    throw e;
  });
}