discontinuedPackage dart_firebase_admin has been discontinued and replaced by firebase_admin_sdk.
ProviderIdentifier constructor
ProviderIdentifier(
{ - required String providerId,
- required String providerUid,
})
Implementation
ProviderIdentifier({required this.providerId, required this.providerUid}) {
if (providerId.isEmpty) {
throw FirebaseAuthAdminException(AuthClientErrorCode.invalidProviderId);
}
if (providerUid.isEmpty) {
throw FirebaseAuthAdminException(AuthClientErrorCode.invalidProviderUid);
}
}