AuthCredential constructor
Constructs an AuthCredential.
providerId The provider ID. signInMethod The sign-in method. token Optional token. accessToken Optional access token.
Returns an AuthCredential instance.
Example:
final credential = AuthCredential(
providerId: 'custom',
signInMethod: 'custom',
);
Implementation
AuthCredential({required this.providerId, required this.signInMethod, this.token,
this.accessToken});