logoutFromSystem method
logout...
Implementation
Future<void> logoutFromSystem(
var successfulFunction, var failedFunction) async {
print("logout process starts here....");
Constants.firebaseAuth
.signOut()
.then((value) => successfulFunction())
.onError((error, stackTrace) => failedFunction())
.timeout(const Duration(seconds: 30));
}