when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult anonymous(
- bool returnSecureToken
- required TResult idp(),
- required TResult password(),
- required TResult customToken(),
- required TResult linkIdp(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(bool returnSecureToken) anonymous,
required TResult Function(Uri requestUri, String postBody,
bool returnSecureToken, bool returnIdpCredential)
idp,
required TResult Function(
String email, String password, bool returnSecureToken)
password,
required TResult Function(String token, bool returnSecureToken) customToken,
required TResult Function(String idToken, Uri requestUri, String postBody,
bool returnSecureToken, bool returnIdpCredential)
linkIdp,
}) =>
throw _privateConstructorUsedError;