logout method

Future<bool?> logout()

Implementation

Future<bool?> logout() async {
  await prefs.clear().then((value) {
    return true;
  });
}