mapOrNull<TResult extends Object?> method
Null safety
- {TResult? intSelection(
- IntSelectionCallback value
- TResult? boolSelection(
- BoolSelectionCallback value
- TResult? launchUrl(
- UrlCallback value
- TResult? copyClipboard(
- CopyClipboardCallback value
- TResult? networkRequest(
- HttpRequestCallback value
- TResult? showSnackBar(
- ShowSnackBarCallback value
- TResult? hideCurrentSnackBar( )?,
- TResult? removeCurrentSnackBar( )?,
- TResult? clearMaterialBanners( )?,
- TResult? hideCurrentMaterialBanner( )?,
- TResult? removeCurrentMaterialBanner( )?,
- TResult? showMaterialBanner( )?,
- TResult? empty(
- EmptyCallback value
- TResult? reload(
- ReloadCallback value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(IntSelectionCallback value)? intSelection,
TResult? Function(BoolSelectionCallback value)? boolSelection,
TResult? Function(NavigationPushNamedCallback value)? navigatorPushNamed,
TResult? Function(NavigationPopCallback value)? navigatorPop,
TResult? Function(UrlCallback value)? launchUrl,
TResult? Function(CopyClipboardCallback value)? copyClipboard,
TResult? Function(HttpRequestCallback value)? networkRequest,
TResult? Function(ShowSnackBarCallback value)? showSnackBar,
TResult? Function(HideCurrentSnackBarCallback value)? hideCurrentSnackBar,
TResult? Function(RemoveCurrentSnackBarCallback value)?
removeCurrentSnackBar,
TResult? Function(ClearMaterialBannersCallback value)? clearMaterialBanners,
TResult? Function(HideCurrentMaterialBannerCallback value)?
hideCurrentMaterialBanner,
TResult? Function(RemoveCurrentMaterialBannerCallback value)?
removeCurrentMaterialBanner,
TResult? Function(ShowMaterialBannerCallback value)? showMaterialBanner,
TResult? Function(EmptyCallback value)? empty,
TResult? Function(ReloadCallback value)? reload,
}) =>
throw _privateConstructorUsedError;