unlink method Null safety

Future<UserPlatform> unlink(
  1. String providerId

Unlinks a provider from a user account.

A FirebaseAuthException maybe thrown with the following error code:

  • no-such-provider:
  • Thrown if the user does not have this provider linked or when the provider ID given does not exist.


Future<UserPlatform> unlink(String providerId) async {
  throw UnimplementedError('unlink() is not implemented');