LazyControl mixin

Mixin class for every Disposable object - mostly used with ControlModel. If object is initialized by ControlFactory.get then is stored into Factory. Object is removed from factory on dispose.

To prevent early remove set preventDispose or preferSoftDispose and then dispose object manually.

factoryKey represents key under which is object stored in ControlFactory - check ControlFactory.keyOf for more info about key.

Use ReferenceCounter mixin to automatically count number of references and prevent early dispose.

Superclass Constraints

Properties

factoryKey → dynamic
key under which is object stored in ControlFactory. Value of key is set by Factory - check ControlFactory.keyOf for more info about key.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Used to clear and dispose object. After this method call is object typically unusable and ready for GC. Can be called multiple times!
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.
inherited