signOut method

Future<bool> signOut()

Implementation

Future<bool> signOut()async{
 return await FirebaseAuth.instance.signOut().then((value) {
    new GoogleSignIn().signOut();
    print("google logout successful");
    return true;
  }).catchError((onError){
    print("google logout onError"+onError.toString());
    return false;
  });
  print("signout return");
  return false;
}