when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult confirmEmail(
    1. String oobCode
    ),
  2. required TResult email(
    1. String idToken,
    2. String email,
    3. bool returnSecureToken
    ),
  3. required TResult password(
    1. String idToken,
    2. String password,
    3. bool returnSecureToken
    ),
  4. required TResult profile(
    1. String idToken,
    2. String? displayName,
    3. Uri? photoUrl,
    4. List<DeleteAttribute> deleteAttribute,
    5. bool returnSecureToken,
    ),
  5. required TResult linkEmail(
    1. String idToken,
    2. String email,
    3. String password,
    4. bool returnSecureToken,
    ),
  6. required TResult unlink(
    1. String idToken,
    2. List<String> deleteProvider
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(String oobCode) confirmEmail,
  required TResult Function(
          String idToken, String email, bool returnSecureToken)
      email,
  required TResult Function(
          String idToken, String password, bool returnSecureToken)
      password,
  required TResult Function(
          String idToken,
          String? displayName,
          Uri? photoUrl,
          List<DeleteAttribute> deleteAttribute,
          bool returnSecureToken)
      profile,
  required TResult Function(String idToken, String email, String password,
          bool returnSecureToken)
      linkEmail,
  required TResult Function(String idToken, List<String> deleteProvider)
      unlink,
}) =>
    throw _privateConstructorUsedError;