when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult confirmEmail(
    1. String? email,
    2. String? displayName,
    3. Uri? photoUrl,
    4. String? passwordHash,
    5. List<ProviderUserInfo> providerUserInfo,
    6. bool emailVerified,
    ),
  2. required 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. required 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. required 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. required 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. required 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 when<TResult extends Object?>({
  required TResult Function(
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified)
      confirmEmail,
  required TResult Function(
          String localId,
          String? email,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)
      email,
  required TResult Function(
          String localId,
          String? email,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)
      password,
  required TResult Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          String? idToken,
          String? refreshToken,
          String? expiresIn)
      profile,
  required TResult Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified,
          String? idToken,
          String? refreshToken,
          String? expiresIn)
      linkEmail,
  required TResult Function(
          String localId,
          String? email,
          String? displayName,
          Uri? photoUrl,
          String? passwordHash,
          List<ProviderUserInfo> providerUserInfo,
          bool emailVerified)
      unlink,
}) =>
    throw _privateConstructorUsedError;