when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult anonymous(
    1. String idToken,
    2. String? email,
    3. String refreshToken,
    4. String expiresIn,
    5. String localId,
    ),
  2. required TResult idp(
    1. String federatedId,
    2. String providerId,
    3. String localId,
    4. bool emailVerified,
    5. String? email,
    6. String? oauthIdToken,
    7. String? oauthAccessToken,
    8. String? oauthTokenSecret,
    9. String? rawUserInfo,
    10. String? firstName,
    11. String? lastName,
    12. String? fullName,
    13. String? displayName,
    14. Uri? photoUrl,
    15. String idToken,
    16. String refreshToken,
    17. String expiresIn,
    18. bool needConfirmation,
    ),
  3. required TResult password(
    1. String idToken,
    2. String? email,
    3. String refreshToken,
    4. String expiresIn,
    5. String localId,
    6. bool registered,
    ),
  4. required TResult custom(
    1. String idToken,
    2. String refreshToken,
    3. String expiresIn
    ),
  5. required TResult linkIdp(
    1. String federatedId,
    2. String providerId,
    3. String localId,
    4. bool emailVerified,
    5. String? email,
    6. String? oauthIdToken,
    7. String? oauthAccessToken,
    8. String? oauthTokenSecret,
    9. String? rawUserInfo,
    10. String? firstName,
    11. String? lastName,
    12. String? fullName,
    13. String? displayName,
    14. Uri? photoUrl,
    15. String idToken,
    16. String refreshToken,
    17. 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;