removeIdentity method
Removes Identity for the specified provider.
providerId
The provider connected to an auth identity on the current user to remove.
Valid provider ids are found in IdentityProviderIds in addition to custom providers.
Implementation
Future removeIdentity(String providerId) {
return NativeBridge.async('CurrentUser.removeIdentity', providerId);
}