IdpProvider.custom constructor

const IdpProvider.custom({
  1. required String providerId,
  2. @Default(<String, dynamic>{}) Map<String, dynamic> parameters,
})

Create an IDP-Instance for any provider not explicitly supported.

After you have obtained the required credentials for your provider of choice, you can then create a provider by using the providerId ( typically the domain of the provider) and additional parameters, that contain the auth credentials required by firebase to log in the user.

Implementation

const factory IdpProvider.custom({
  required String providerId,
  @Default(<String, dynamic>{}) Map<String, dynamic> parameters,
}) = _CustomIdpProvider;