PasswordExplicitPatterns extension
Adds pattern-matching-related methods to PasswordExplicit.
Methods
-
map<
TResult extends Object?> (TResult $default(_PasswordExplicitExplicit value)) → TResult -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_PasswordExplicitExplicit value)?) → TResult? -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_PasswordExplicitExplicit value)?, {required TResult orElse()}) → TResult -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String password, PasswordCacheBehavior cacheBehavior)?, {required TResult orElse()}) → TResult -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
when<
TResult extends Object?> (TResult $default(String password, PasswordCacheBehavior cacheBehavior)) → TResult -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String password, PasswordCacheBehavior cacheBehavior)?) → TResult? -
Available on PasswordExplicit, provided by the PasswordExplicitPatterns extension
A variant ofwhenthat fallback to returningnull