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