whenOrNull<TResult extends Object?> method

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

Implementation

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