logout method

Future logout()

Implementation

Future logout() async {
  try{
    await storage.deleteAll();
  }on Exception catch (e){
    print('BEA Logout error');
    FLog.error(
        className: this.runtimeType.toString(),
        methodName: "logout",
        text: 'BEA Logout error - $e');
    throw e;
  }
}