map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult intSelection(
    1. IntSelectionCallback value
    ),
  2. required TResult boolSelection(
    1. BoolSelectionCallback value
    ),
  3. required TResult navigatorPushNamed(
    1. NavigationPushNamedCallback value
    ),
  4. required TResult navigatorPop(
    1. NavigationPopCallback value
    ),
  5. required TResult launchUrl(
    1. UrlCallback value
    ),
  6. required TResult copyClipboard(
    1. CopyClipboardCallback value
    ),
  7. required TResult networkRequest(
    1. HttpRequestCallback value
    ),
  8. required TResult showSnackBar(
    1. ShowSnackBarCallback value
    ),
  9. required TResult hideCurrentSnackBar(
    1. HideCurrentSnackBarCallback value
    ),
  10. required TResult removeCurrentSnackBar(
    1. RemoveCurrentSnackBarCallback value
    ),
  11. required TResult clearMaterialBanners(
    1. ClearMaterialBannersCallback value
    ),
  12. required TResult hideCurrentMaterialBanner(
    1. HideCurrentMaterialBannerCallback value
    ),
  13. required TResult removeCurrentMaterialBanner(
    1. RemoveCurrentMaterialBannerCallback value
    ),
  14. required TResult showMaterialBanner(
    1. ShowMaterialBannerCallback value
    ),
  15. required TResult empty(
    1. EmptyCallback value
    ),
  16. required TResult reload(
    1. 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;