signInWithCustomToken method Null safety

Future<UserCredentialPlatform> signInWithCustomToken(
  1. String token
)

Tries to sign in a user with a given Custom Token token.

If successful, it also signs the user in into the app and updates the onAuthStateChanged stream.

Use this method after you retrieve a Firebase Auth Custom Token from your server.

If the user identified by the uid specified in the token doesn't have an account already, one will be created automatically.

Read how to use Custom Token authentication and the cases where it is useful in the guides.

Implementation

Future<UserCredentialPlatform> signInWithCustomToken(String token) async {
  throw UnimplementedError('signInWithCustomToken() is not implemented');
}