mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult pass(
- GuardCheckResultPass value
- TResult wrap(
- _GuardCheckResultPassWrap value
- TResult loading(
- GuardCheckResultLoading value
- TResult widget(
- _WidgetResult value
- TResult none(
- _NoneResult value
- TResult action(
- _ActionResult value
- TResult error(
- GuardCheckResultError value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult Function(GuardCheckResultPass value)? pass,
TResult Function(_GuardCheckResultPassWrap value)? wrap,
TResult Function(GuardCheckResultLoading value)? loading,
TResult Function(_WidgetResult value)? widget,
TResult Function(_NoneResult value)? none,
TResult Function(_ActionResult value)? action,
TResult Function(GuardCheckResultError value)? error,
}) =>
throw _privateConstructorUsedError;