OrderEvent class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
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