maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult google(
- String idToken
- TResult facebook(
- String accessToken
- TResult twitter()?,
- TResult custom()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;