whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? google(
    1. String idToken
    )?,
  2. TResult? facebook(
    1. String accessToken
    )?,
  3. TResult? twitter(
    1. String accessToken,
    2. String oauthTokenSecret
    )?,
  4. TResult? custom(
    1. String providerId,
    2. Map<String, dynamic> parameters
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(String idToken)? google,
  TResult? Function(String accessToken)? facebook,
  TResult? Function(String accessToken, String oauthTokenSecret)? twitter,
  TResult? Function(String providerId, Map<String, dynamic> parameters)?
      custom,
}) =>
    throw _privateConstructorUsedError;