createSessionUsingFirebasePhone function

Future<CubeSession> createSessionUsingFirebasePhone(
  1. String projectId,
  2. String accessToken
)

Implementation

Future<CubeSession> createSessionUsingFirebasePhone(
    String projectId, String accessToken) {
  return CreateSessionQuery.usingSocial(
      CubeProvider.FIREBASE_PHONE, List.of({projectId, accessToken})).perform();
}