platformSignIn method

void platformSignIn(
  1. TargetPlatform platform,
  2. AuthAction action
)
inherited

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);
  }
}