ViewModelMember class abstract

Base class for a ViewModel member implementing integration with the State owner.

Implemented types
Implementers

Constructors

ViewModelMember({String? debugName})

Properties

debugName → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
owner → ViewModelOwner<ViewModelParameter?>
State, owner of the ViewModel member, providing access to Flutter.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDisposeListener(DisposeListener listener) → void
addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
dispose() → void
Deinitializes the ViewModel member.
override
init(ViewModelOwner<ViewModelParameter?> owner) → void
Initializes the ViewModel member, binding it to the provided owner.
override
lifecycleAwareRemoveListener(VoidCallback listener) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyUpdateCompleted() → void
Notifies the ViewModel member about the completion of the update.
override
removeDisposeListener(DisposeListener listener) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
toDiagnosticsNode() → DiagnosticsNode
Converts the ViewModel member to a DiagnosticsNode for display in devtools.
override
toString() → String
A string representation of this object.
inherited
update() → void
Updates the ViewModel member.
override

Operators

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