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