when<TResult extends Object?> method

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

Implementation

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