maybeWhen<TResult extends Object?> method
TResult
maybeWhen<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()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;