QueueSignalOptions<T> class
Configuration options for a QueueSignal.
- Inheritance
-
- Object
- SignalOptions<
Queue< T> > - QueueSignalOptions
Constructors
-
QueueSignalOptions({String? name, bool autoDispose = false, void watched()?, void unwatched()?, SignalEquality<
Queue< ? equality = const SignalDeepEquality()})T> > -
Creates a new QueueSignalOptions instance.
const
Properties
- autoDispose → bool
-
Automatically dispose the signal when there are no more listeners.
finalinherited
-
equalityCheck
→ SignalEquality<
Queue< T> > -
Get the active equality check
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String?
-
The name for debugging, tracing, and DevTools inspection.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unwatched → void Function()?
-
Callback called when the signal goes from >=1 to 0 listeners.
finalinherited
- watched → void Function()?
-
Callback called when the signal goes from 0 to >=1 listeners.
finalinherited
Methods
-
copyWith(
{String? name, bool? autoDispose, void watched()?, void unwatched()?, SignalEquality< Queue< ? equality}) → QueueSignalOptions<T> >T> -
Creates a copy of this options with custom overrides.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override