whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? changePage(
- MapPageType pageType
- TResult? setSenderAndReceiver(
- MapUserModel user,
- bool sender
- TResult? changeActiveButton(
- bool active
- TResult? setMarker(
- MapObject marker
- TResult? removeMarker(
- dynamic markerId
- TResult? cancelOrder(
- BuildContext context,
- BuildContext bigContext
- TResult? clear()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(MapPageType pageType)? changePage,
TResult? Function(MapUserModel user, bool sender)? setSenderAndReceiver,
TResult? Function(bool active)? changeActiveButton,
TResult? Function(MapObject<dynamic> marker)? setMarker,
TResult? Function(dynamic markerId)? removeMarker,
TResult? Function(BuildContext context, BuildContext bigContext)?
cancelOrder,
TResult? Function()? clear,
}) =>
throw _privateConstructorUsedError;