NullChangeToken class
An empty change token that doesn't raise any change callbacks.
- Implemented types
Constructors
- NullChangeToken()
- NullChangeToken.singleton()
-
A singleton instance of NullChangeToken
factory
Properties
- activeChangeCallbacks → bool
-
Always false.
no setteroverride
- hasChanged → bool
-
Always false.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerChangeCallback(
void callback(Object? state), Object? state) → IDisposable -
Always returns an empty disposable object. Callbacks will never be called.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited