CalculateOrder class abstract

Implemented types

Constructors

CalculateOrder({required BuildContext context, required MapUserModel? sender, required MapUserModel? receiver, required ScheduleTimeType scheduleTimeType, required DateTime? time})
const
factory

Properties

context BuildContext
no setter
copyWith → _$$CalculateOrderImplCopyWith<_$CalculateOrderImpl>
Create a copy of OrderEvent with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
receiver MapUserModel?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleTimeType ScheduleTimeType
no setter
sender MapUserModel?
no setter
time DateTime?
no setter

Methods

map<TResult extends Object?>({required TResult getEquipment(GetEquipment value), required TResult getTypes(GetTypes value), required TResult cancelOrder(CancelOrder value), required TResult createOrder(CreateOrder value), required TResult calculateOrder(CalculateOrder value), required TResult selectEquipment(SelectEquipment value), required TResult selectType(SelectType value), required TResult clear(Clear value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? getEquipment(GetEquipment value)?, TResult? getTypes(GetTypes value)?, TResult? cancelOrder(CancelOrder value)?, TResult? createOrder(CreateOrder value)?, TResult? calculateOrder(CalculateOrder value)?, TResult? selectEquipment(SelectEquipment value)?, TResult? selectType(SelectType value)?, TResult? clear(Clear value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult getEquipment(GetEquipment value)?, TResult getTypes(GetTypes value)?, TResult cancelOrder(CancelOrder value)?, TResult createOrder(CreateOrder value)?, TResult calculateOrder(CalculateOrder value)?, TResult selectEquipment(SelectEquipment value)?, TResult selectType(SelectType value)?, TResult clear(Clear value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult getEquipment(BuildContext context)?, TResult getTypes(BuildContext context)?, TResult cancelOrder(BuildContext context, VoidCallback onSuccess)?, TResult createOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time)?, TResult calculateOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time)?, TResult selectEquipment(Equipment? value)?, TResult selectType(TypesModel value)?, 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 getEquipment(BuildContext context), required TResult getTypes(BuildContext context), required TResult cancelOrder(BuildContext context, VoidCallback onSuccess), required TResult createOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time), required TResult calculateOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time), required TResult selectEquipment(Equipment? value), required TResult selectType(TypesModel value), required TResult clear()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? getEquipment(BuildContext context)?, TResult? getTypes(BuildContext context)?, TResult? cancelOrder(BuildContext context, VoidCallback onSuccess)?, TResult? createOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time)?, TResult? calculateOrder(BuildContext context, MapUserModel? sender, MapUserModel? receiver, ScheduleTimeType scheduleTimeType, DateTime? time)?, TResult? selectEquipment(Equipment? value)?, TResult? selectType(TypesModel value)?, TResult? clear()?}) → TResult?
inherited

Operators

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