when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult anonymous(),
- required TResult idp(
- String federatedId,
- String providerId,
- String localId,
- bool emailVerified,
- String? email,
- String? oauthIdToken,
- String? oauthAccessToken,
- String? oauthTokenSecret,
- String? rawUserInfo,
- String? firstName,
- String? lastName,
- String? fullName,
- String? displayName,
- Uri? photoUrl,
- String idToken,
- String refreshToken,
- String expiresIn,
- bool needConfirmation,
- required TResult password(),
- required TResult custom(),
- required TResult linkIdp(
- String federatedId,
- String providerId,
- String localId,
- bool emailVerified,
- String? email,
- String? oauthIdToken,
- String? oauthAccessToken,
- String? oauthTokenSecret,
- String? rawUserInfo,
- String? firstName,
- String? lastName,
- String? fullName,
- String? displayName,
- Uri? photoUrl,
- String idToken,
- String refreshToken,
- String expiresIn,
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(String idToken, String? email,
String refreshToken, String expiresIn, String localId)
anonymous,
required TResult Function(
String federatedId,
String providerId,
String localId,
bool emailVerified,
String? email,
String? oauthIdToken,
String? oauthAccessToken,
String? oauthTokenSecret,
String? rawUserInfo,
String? firstName,
String? lastName,
String? fullName,
String? displayName,
Uri? photoUrl,
String idToken,
String refreshToken,
String expiresIn,
bool needConfirmation)
idp,
required TResult Function(
String idToken,
String? email,
String refreshToken,
String expiresIn,
String localId,
bool registered)
password,
required TResult Function(
String idToken, String refreshToken, String expiresIn)
custom,
required TResult Function(
String federatedId,
String providerId,
String localId,
bool emailVerified,
String? email,
String? oauthIdToken,
String? oauthAccessToken,
String? oauthTokenSecret,
String? rawUserInfo,
String? firstName,
String? lastName,
String? fullName,
String? displayName,
Uri? photoUrl,
String idToken,
String refreshToken,
String expiresIn)
linkIdp,
}) =>
throw _privateConstructorUsedError;