whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? confirmEmail(
    1. String? email,
    2. String? displayName,
    3. Uri? photoUrl,
    4. String? passwordHash,
    5. List<ProviderUserInfo> providerUserInfo,
    6. bool emailVerified,
    )?,
  2. TResult? email(
    1. String localId,
    2. String? email,
    3. String? passwordHash,
    4. List<ProviderUserInfo> providerUserInfo,
    5. String? idToken,
    6. String? refreshToken,
    7. String? expiresIn,
    )?,
  3. TResult? password(
    1. String localId,
    2. String? email,
    3. String? passwordHash,
    4. List<ProviderUserInfo> providerUserInfo,
    5. String? idToken,
    6. String? refreshToken,
    7. String? expiresIn,
    )?,
  4. TResult? profile(
    1. String localId,
    2. String? email,
    3. String? displayName,
    4. Uri? photoUrl,
    5. String? passwordHash,
    6. List<ProviderUserInfo> providerUserInfo,
    7. String? idToken,
    8. String? refreshToken,
    9. String? expiresIn,
    )?,
  5. TResult? linkEmail(
    1. String localId,
    2. String? email,
    3. String? displayName,
    4. Uri? photoUrl,
    5. String? passwordHash,
    6. List<ProviderUserInfo> providerUserInfo,
    7. bool emailVerified,
    8. String? idToken,
    9. String? refreshToken,
    10. String? expiresIn,
    )?,
  6. TResult? unlink(
    1. String localId,
    2. String? email,
    3. String? displayName,
    4. Uri? photoUrl,
    5. String? passwordHash,
    6. List<ProviderUserInfo> providerUserInfo,
    7. bool emailVerified,
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified)?
      confirmEmail,
  TResult? Function(
          String localId,
          String? email,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)?
      email,
  TResult? Function(
          String localId,
          String? email,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)?
      password,
  TResult? Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)?
      profile,
  TResult? Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified,
          String? idToken,
          String? refreshToken,
          String? expiresIn)?
      linkEmail,
  TResult? Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified)?
      unlink,
}) =>
    throw _privateConstructorUsedError;