signOut method
This method is used to sign-out from different third party login system Pass AuthType enum
socialMediaLogin(AuthType.google)
Implementation
Future<void> signOut({required AuthType authType}) async {
//switch AuthType for dedicated sign-in method
switch (authType) {
//google sign-in method
case AuthType.google:
//signout from google
await thirdPartyLoginWithGoogle.signOut();
break;
//facebook sign-in method
case AuthType.facebook:
//Initialize
break;
//apple sign-in method
case AuthType.apple:
//Initialize
break;
default:
}
}