SetSenderAndReceiver class abstract

Implemented types

Constructors

SetSenderAndReceiver({required MapUserModel user, required bool sender})
const
factory

Properties

copyWith → _$$SetSenderAndReceiverImplCopyWith<_$SetSenderAndReceiverImpl>
Create a copy of MapEvent with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender bool
no setter
user MapUserModel
no setter

Methods

map<TResult extends Object?>({required TResult changePage(ChangePage value), required TResult setSenderAndReceiver(SetSenderAndReceiver value), required TResult changeActiveButton(ChangeActiveButton value), required TResult setMarker(SetMarker value), required TResult removeMarker(RemoveMarker value), required TResult cancelOrder(CancelOrder value), required TResult clear(Clear value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? changePage(ChangePage value)?, TResult? setSenderAndReceiver(SetSenderAndReceiver value)?, TResult? changeActiveButton(ChangeActiveButton value)?, TResult? setMarker(SetMarker value)?, TResult? removeMarker(RemoveMarker value)?, TResult? cancelOrder(CancelOrder value)?, TResult? clear(Clear value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult changePage(ChangePage value)?, TResult setSenderAndReceiver(SetSenderAndReceiver value)?, TResult changeActiveButton(ChangeActiveButton value)?, TResult setMarker(SetMarker value)?, TResult removeMarker(RemoveMarker value)?, TResult cancelOrder(CancelOrder value)?, TResult clear(Clear value)?, required TResult orElse()}) → TResult
inherited
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()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
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()}) → TResult
inherited
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()?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited