platformSignIn method
Redirects the flow to the mobileSignIn or desktopSignIn based on current platform.
Implementation
void platformSignIn(TargetPlatform platform, AuthAction action) {
if (platform == TargetPlatform.android || platform == TargetPlatform.iOS) {
mobileSignIn(action);
} else {
desktopSignIn(action);
}
}